Skip to content

boolean vs not not #48

@tjg

Description

@tjg

Happy to read the book!

On p.114 (published 2012-10-17), you use the example:

(comp not not predicate)

As I understand, boolean does the job:

(comp boolean predicate)

It might be worth changing the example or at least noting this, lest it give the impression that inelegant Clojure code is needed here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions