On Wed, May 22, 2013 at 01:12:11PM +0100, Ian Lynagh wrote:Wasn't there also mention of making Applicative a superclass of Monad?
> I think there are 4 things it has been suiggested that we might do:
> * Generalise Prelude.mapM etc
> * Remove Prelude.mapM etc
> * Add more monomorphic variants to Prelude (e.g. whenJust)
> * Nothing
That might actually have less impact on beginners than generalizing the
types of foldr and sum, and doing it first might allow us to rationalize
the situation with some of the monad combinators that are clashing.
_______________________________________________
Libraries mailing list
Libraries@haskell.org
http://www.haskell.org/mailman/listinfo/libraries