
14 Mar
2010
14 Mar
'10
3:33 p.m.
On Sun, Mar 14, 2010 at 12:26 PM, michael rice
Is there a library function that will create two lists from one based on a predicate, one list for all elements that satisfy the predicate and one for all that do not? Don't want to reinvent the wheel.
Michael
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Data.List.filter will do the trick. Alex