Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boolean vs not not #48

Open
tjg opened this issue Apr 24, 2013 · 1 comment
Open

boolean vs not not #48

tjg opened this issue Apr 24, 2013 · 1 comment

Comments

@tjg
Copy link

tjg commented Apr 24, 2013

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.

@marick
Copy link
Owner

marick commented Apr 28, 2013

Yes, I managed to not know about boolean for way too long. I'll fix this in the final version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants