21 Feb
2008
21 Feb
'08
3:05 p.m.
On Wed, Feb 20, 2008 at 10:46 PM, <ajb@spamcop.net> wrote:
Quoting Neil Mitchell <ndmitchell@gmail.com>:
Yes, its the projection onto another type:
[] = Nothing (x:xs) = Just (x, xs)
Also known as msplit:
Almost. The projection has type f a -> Maybe (a, f a), but msplit has type f a -> f (Maybe (a, f a)). -- Dave Menendez <dave@zednenem.com> <http://www.eyrie.org/~zednenem/>