On Monday, March 11, 2013 10:55:12 PM UTC+1, Ryan wrote:

> Thank you all for your replies.
>
> @Marko, well, at first my question was intended to be more generic, but in 
> reality I am dealing with two java.util.Lists
>

I only asked because if they aren't java.util.Lists to begin with, you'd 
definitely not want to convert into one just to use removeAll.
 

> I probably didn't described very well what I wanted in the first place. 
> All the objects in those lists contain an "id" property which has a unique 
> value. I am trying to find out, which objects from the first list, based on 
> that "id" property, are not included in list b.
>
> I assume this rules out the use of clojure.data/diff and I will need my 
> own function like Marko suggested to make those property comparisons.
>

Yes, from data/diff's perspective you'd have all distinct objects.

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