I assume you have to vectors, v1 and v2, and you want to add all the
elements from v1 that doesn't equal any element from v2 to v2. In that
case you're probably best of using filter to extract the elements from
v1 that are not equal to any element in v2. concat the result with v2.

Thomas

On Sep 2, 5:10 pm, mlimotte <[email protected]> wrote:
> Hi.
>
> I'd like to do a union of some sequences using my own comparison
> function.  Similar to supplying a Comparator in Java.  The things
> being compared are Objects from a Java library that I don't control,
> so I can't just override the equals function on the class, for
> example.
>
> Would aprecaite any suggestions.
>
> thanks,
> Marc

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to