Maybe you want this: user=>(map (partial reduce +) '((1 2) (2 3) (3 4))) (3 5 7)
Maybe not. On Aug 19, 2:56 am, simon <fre...@gmail.com> wrote: > (apply map + '((1 2) (2 3) (3 4))) > > produces result: (6 9) > > Could anyone explain a little more detail how the result being > produced? > Though I checked the source of 'apply' function but still not clear > how this piece of code eval. > > Thank you in advance. > -Simon --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---