G'day all. Quoting Neil Mitchell <[EMAIL PROTECTED]>:
Yes, its the projection onto another type: [] = Nothing (x:xs) = Just (x, xs)
Also known as msplit: http://www.haskell.org/haskellwiki/New_monads/MonadSplit Cheers, Andrew Bromage _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe