Re: help understanding how map works

2011-09-28 Thread Sean Corfield
On Wed, Sep 28, 2011 at 6:32 PM, Cluj wrote: > Thank you! Obvious once someone explains it :) You could also do: (map vector '("A" "B" "C")) -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Railo Technologies, Inc. -

Re: help understanding how map works

2011-09-28 Thread Cluj
Thank you! Obvious once someone explains it :) On Sep 28, 6:13 pm, Mark Engelberg wrote: > #([ % ]) is like: > (defn wrap [ x ] ([ x ]) ) > > not > (defn wrap [ x ] [ x ] ) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send

Re: help understanding how map works

2011-09-28 Thread Mark Engelberg
#([ % ]) is like: (defn wrap [ x ] ([ x ]) ) not (defn wrap [ x ] [ x ] ) -- 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