On Monday, January 24, 2011 12:59:09 PM UTC, Las wrote:
>
> What did I get wrong?
>

I believe #([% 1]) is equivalent to (fn [a] ([a 1])), not (fn [a] [a 1]) . 
Thus, for #([% 1]) , [% 1] is called as a function. Vectors are functions 
that take an index and return the vector's value at that index.

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