On Wed, Jun 29, 2011 at 8:54 PM, Dmitry Gutov <raa...@gmail.com> wrote:

> You can use 'reduce':
>
> (reduce nth m [2 2 1])
> ;; or, for the general case
> (reduce #(%1 %2) m [2 2 1])


or

(reduce get m [2 2 1])

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