On Sat, 15 Dec 2012, Benjamin R. Haskell wrote:
Or if you really want a list, you need to quote it:
(map (fn [item product] '(:id item :description product)) items products)
Oops, wrong. Rather, you would want clojure.core/list:
(map (fn [item product] (list :id item :description product)) items products)
--
Best,
Ben
--
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