(filt-rem identity '(true nil false 8)) => ((true) ()) > (filt-split identity '(true nil false 8)) => [[true 8] [nil false]] >
can't speak for this one, cause I don't know enough clojure > > (filt-rem even? (range 10)) => ((8 6 4 2 0) (9 7 5 3 1)) > (filter-split even? (range 10)) => [(0 2 4 6 8) (1 3 5 7 9)] > yeah, we had variations that preserved order, too .... but that reduce one looks even cooler, anyway. > --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---