25 Jan
2012
25 Jan
'12
5:02 a.m.
On Tue, Jan 24, 2012 at 1:00 PM, David Fox <ddssff@gmail.com> wrote:
On Mon, Jan 23, 2012 at 1:01 PM, Joey Hess <joey@kitenet.net> 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...
Oh, wait. That won't always work. :(