Adding Applicative/Functor instances to all Monads in GHC

Henning Thielemann lemming at
Fri May 17 13:10:38 CEST 2013

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.


More information about the Libraries mailing list