[Haskell-cafe] On to applicative
nowgate at yahoo.com
Sat Aug 28 20:43:52 EDT 2010
I'm looking at a discussion of Either (as functor) here:
instance Functor (Either a) where
fmap f (Right x) = Right (f x)
fmap f (Left x) = Left x
And this line in Data.Either
Functor (Either a)
but no fmap defined here.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe