• (separate f s)
Returns a vector:
[ (filter f s), (filter (complement f) s) ]

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/seq.clj:45 top

(defn separate
  "Returns a vector:
   [ (filter f s), (filter (complement f) s) ]"
  [f s]
  [(filter f s) (filter (complement f) s)])
Vars in clojure.contrib.seq/separate: defn
Used in 0 other vars

Comments top

No comments for separate. Log in to add a comment.