John,

On Tue, Oct 27, 2009 at 6:10 PM, John Harrop <jharrop...@gmail.com> wrote:

> On Tue, Oct 27, 2009 at 1:39 PM, Emeka <emekami...@gmail.com> wrote:
>
>> On Sun, Oct 25, 2009 at 4:57 PM, MarkSwanson 
>> <mark.swanson...@gmail.com>wrote:
>>
>>>
>>> Hello,
>>>
>>> Someone recently posed the question: (why doesn't this work)
>>> (into {} (map #([% (* % %)]) [1 2 3 4]))
>>>
>>>
>> Is this actually a Vector problem or the limitation of the anonymous
>> function?
>>
>
> Neither. It's a limitation of the #() read-macro. (fn [x] [x (* x x)])
> works just fine.
>
Is #() read-macro not an anonymous function?

Regards,
Emeka

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