[Haskell-cafe] instance Monad m => Functor m

Hans Aberg haberg at math.su.se
Tue Apr 8 04:53:58 EDT 2008


Using 'hugs -98', I noticed it accepts:
   instance Monad m => Functor m where
     fmap f x = x >>= return.f

Has this been considered (say) as a part of the upcoming Haskell Prime?

   Hans Aberg




More information about the Haskell-Cafe mailing list