[Haskell-cafe] Re: The Proliferation of List-Like Types

ajb at spamcop.net ajb at spamcop.net
Wed Feb 20 22:46:55 EST 2008

G'day all.

Quoting Neil Mitchell <ndmitchell at gmail.com>:

> Yes, its the projection onto another type:
> [] = Nothing
> (x:xs) = Just (x, xs)

Also known as msplit:


Andrew Bromage

More information about the Haskell-Cafe mailing list