I was messing around with the Clojure interpreter and typed this:

user=> ('+ 3 4)

The interpreter responded with "4".

That's odd (but interesting).. 

Clearly if I had typed (+ 3 4), it would have responded with 7, and it I 
had typed '(3 4), it would have responded with a list (3 4), but why does 
this expression evaluate to "4"? 

Most other Lisps/Schemes I'm familiar with would throw an error at this 
point.. 

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

Reply via email to