On Mon, Jan 23, 2012 at 1:01 PM, Joey Hess <[email protected]> wrote:

>> >   Other stuff:
>> >
>> >   separate :: (a -> Bool) -> [a] -> ([a], [a])
>>
>> Is this partition from Data.List?
>
> No; it's like break but does not include the separating character in the
> snd list.

I like  let (hd, _ : tl) = break prd lst in...

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to