On Sun, Dec 25, 2011 at 10:37 AM, Baishampayan Ghose <b.gh...@gmail.com> wrote:
> Shoeb wants to merge sequences of maps and not the maps themselves, so
> merge/merge-with won't help him much.

Sorry, I may have misunderstood, I was thinking something like this
(where select-code implements his selecting codes from two maps logic)
:
(apply merge-with
  #(if (= (:id %) (:id %2)) (select-code % %2) (merge % %2))
  (concat p1 p2 p3 p4))


bill

-- 
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

Reply via email to