Adding Applicative/Functor instances to all Monads in GHC

Federico Mastellone fmaste at gmail.com
Fri May 17 14:22:51 CEST 2013


+1


On May 17, 2013, at 8:10 AM, Henning Thielemann <lemming at henning-thielemann.de> wrote:

> 
> On Thu, 16 May 2013, David Luposchainsky wrote:
> 
>> I recently went through GHC's source, and discovered there are quite a
>> few instances of Monad that don't have Functor or Applicative instances.
>> Fixing this is very easy by adding the standard instances (pure = return
>> etc.), and will not break code.
> 
> +1
> 
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries




More information about the Libraries mailing list