On Dec 10, 2008, at 3:00 PM, Michael Wood wrote:
The problem seems to be that you are quoting the +. Not sure why
this is, but:
user=> ('+ 1 4)
4
('+ 1 4) is effectively (get 1 '+ 4)
(doc get)
-------------------------
clojure.core/get
([map key] [map key not-found])
Returns the value mapped to key, not-found or nil if key not present.
As we might expect, it is doing what we told it to do... though in
this case a diagnostic like "1 is not a map" would have been helpful.
--Steve
smime.p7s
Description: S/MIME cryptographic signature
