On 30 August 2010 14:25, michael rice <nowg...@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?
http://www.haskell.org/ghc/docs/6.12.2/html/libraries/base-4.2.0.1/Control-Monad-Instances.html -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe