[Haskell-cafe] On to applicative

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Mon Aug 30 00:36:57 EDT 2010

On 30 August 2010 14:25, michael rice <nowgate at yahoo.com> wrote:
> Looks like the fmap definition for the Either functor matches what's given in Learn You A Haskell ...
> instance Functor (Either a) where
>    fmap f (Right x) = Right (f x)
>    fmap f (Left x) = Left x
> but Hoogle couldn't find Control.Monad.Instances
> How else can I look at the code?


Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com

More information about the Haskell-Cafe mailing list