Hello,
What is wrong in this function?
(defn testmap []
(do
(map #(fn1 %)
'("a" "b" "c"))
(map #(fn2%)
'("1" "2" "3"))
))
If fn1 = fn2 = println
the result is
(1
2
nil 3
nil nil)
I expected this result
a
b
c
1
2
3
Thanks
--
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