
31 Oct
2006
31 Oct
'06
5:23 a.m.
On 30/10/06, Russell O'Connor
* Adding isLeft, isRight, fromLeft, fromRight, splitEithers
It'd be nice to have the following, too: lefts :: [Either a b] -> [a] lefts = fst . splitEithers rights :: [Either a b] -> [b] rights = snd . splitEithers -- -David House, dmhouse@gmail.com