On Jun 3, 2012, at 9:35 PM, James Reeves wrote:

> On 4 June 2012 03:00, Bill Caputo <logos...@gmail.com> wrote:
>> Someone with more knowledge than me can probably explain better, but my
>> understanding is that the the reader macro shorthand for anonymous functions
>> and the map literal syntax can't both be used together (i.e. it's not a bug,
>> but a reader limitation).
> 
> It's actually because #({:a %}) is equivalent to (fn [x] ({:a x})),
> when he wants (fn [x] {:a x}).
> 
> So it's not a bug, nor a reader limitation, but rather a
> misunderstanding of what #() is short for.

Ahh, that makes a lot more sense. Another foggy understanding clarified :-)


bill

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