On Monday, March 11, 2013 11:09:31 PM UTC+1, Ryan wrote:

> What if, i had two clojure lists, with hash-maps which have the same keys 
> and based on a specific key, i wanted to find the items from list-a which 
> do not exist in list-b. Would i go with the two functions you suggested or 
> is there something else I could use?


The only difference would be in the definition of the *key-fn. *With Java 
classes it would be #(.getId %) and with Clojure maps it would be just :id --- 
keywords are already functions!

-Marko

-- 
-- 
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
--- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to