(def a-list '({:BAR_KEY bar-value}, {:BAR_KEY another-value}))
(defn my-function [foo-id a-keyword a-list]
(map #({:foo_id foo-id (keyword a-keyword) (:BAR_KEY %)}) a-list))
(my-function 5 "my_keyword" a-list)
clojure.lang.ArityException: Wrong number of args (0) passed to: PersistentArrayMap
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@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+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to a topic in the Google Groups "Clojure" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/clojure/SreXPqbyjJ0/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to clojure+u...@googlegroups.com.