On Sat, Feb 11, 2012 at 4:44 PM, Jules <julesjac...@gmail.com> wrote: > There is a standard library function for this: separate.
Not according to clooj's tab completion, http://clojure.org/cheatsheet, or http://clojure.github.com/clojure/ -- none of those match any library function to the substring "sep", and the third includes clojure.set, clojure.string, and the like as well as clojure.core. The obvious implementation, FWIW, would be (defn separate [pred coll] [(filter pred coll) (remove pred coll)]) -- 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