Adding Applicative/Functor instances to all Monads in GHC

Kazu Yamamoto ( 山本和彦 ) kazu at iij.ad.jp
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.

+1

--Kazu



More information about the Libraries mailing list