I am learning Clojure and have installed Clojure 1.2.0 in an Ubuntu 11
box.
While playing with the map function I ran into some behavior I don't
understand.
I tried to use map to change a list of strings into a list of vectors
of strings, something like:
("A" "B" "C") => ( [ "A"] ["B"] ["C"])
I
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