On 30 Jan 2017, at 07:34, Sayth Renshaw <flebber.c...@gmail.com> wrote:

> Hi
> 
> If nil is true 
> 
> clojure-noob.core> (nil? nil)
> true
> 
> Then why doesn't nil return from this statement as the first true value?

This expression is a function invocation. The function is the first item in the 
list and the argument is the second. So this expression asks if nil is nil, 
which is true.

I cut the rest of your examples since they make similar mistakes. You don’t 
understand clojure very well, you may want to read the docs:

https://clojure.org/reference/reader

This isn’t an attack, just a statement of fact.

Alan

-- 
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