<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Cool. Will keep that in mind next time I'm looking for an operation but don't know what it's called.<br><br>Michael<br><br>--- On <b>Sun, 3/14/10, Simon Hengel <i><simon.hengel@wiktory.org></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Simon Hengel <simon.hengel@wiktory.org><br>Subject: Re: [Haskell-cafe] Splitting list with predicate<br>To: "michael rice" <nowgate@yahoo.com><br>Cc: haskell-cafe@haskell.org<br>Date: Sunday, March 14, 2010, 4:31 PM<br><br><div class="plainMail">> Wouldn't one need to know the order of the arguments?<br>> <br>> (a -> Bool) -> [a] -> ([a], [a])<br>Not really, if you try<br><br>[a] -> (a -> Bool) -> ([a], [a])<br><br>it will yield the exact same list of
results.<br><br>Cheers.<br></div></blockquote></td></tr></table><br>