Adding Applicative/Functor instances to all Monads in GHC

Kazu Yamamoto ( 山本和彦 ) kazu at
Fri May 17 02:08:41 CEST 2013

> 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