On 20 Lis, 01:49, nchubrich <nicholas.chubr...@gmail.com> wrote:
> While we're on the topic, where is something like (subtract [1 2 3 3 4
> 4 5 6] evens) -> (1 3 3 5)?  Doesn't seem to be in seq-utils or API.
> Seems like there should be a parallel "multiset" library for colls, to
> clojure.set.  (I guess there could be two versions of subtract, one
> that removes \all, and one that removes only as many as are in the
> subtracted set.)  Maybe I will write this unless there is already some
> such out there

Did you mean remove? It's in core.

(user=> (remove even? [1 2 3 3 4 5 6])
(1 3 3 5)


.

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