On Mon, Dec 15, 2008 at 9:41 PM, Mark Volkmann
<[email protected]> wrote:
>
> ; Quoting a list is *not* the same as quoting everyting inside it.
> (println ('+ '1 '2)) ; outputs 2 which is the value of the last item evaluated
Your example works, but your comment is not always true:
user=> ('+ '1)
nil
user=> ('+ '1 '2 '3)
java.lang.IllegalArgumentException: Wrong number of args passed to:
Symbol (NO_SOURCE_FILE:0)
user=> ('b '{a 10, b 11, c 12})
11
--Chouser
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---