Re: Adding Applicative/Functor instances to all Monads in GHC

18 May
2013
18 May
'13
10:23 p.m.
On 5/16/13 7:33 AM, 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. If there're obviously superior definitions then those should be used instead, of course. -- Live well, ~wren
4385
Age (days ago)
4385
Last active (days ago)
0 comments
1 participants
participants (1)
-
wren ng thornton