On 2 September 2017 at 05:06, Rostislav Svoboda <rostislav.svob...@gmail.com
> wrote:

> > identity isn't a boolean, so neither true? nor false? should return true
> for it
>
> But then why it should return 'false'?


Because you're asking, "Is identity the boolean value true?", and Clojure
is telling you, "False, it's a function".

Then you ask "Is identity the boolean value false?", and clojure replies,
"Also false, it's still a function.".

Then finally you ask, "Is false equal to false?" and Clojure says, "True."

-- 
James Reeves
booleanknot.com

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to