You can use 'reduce': (reduce nth m [2 2 1]) ;; or, for the general case (reduce #(%1 %2) m [2 2 1])
On Jun 30, 3:20 am, Antonio Recio <[email protected]> wrote: > (get-in m [2 2 1]) is great! Which are the others ones? Is there something > like (-> 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 [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
