Re: [Haskell-cafe] Is it possible to change the environment (reader) in applicative style?

24 Sep
2018
24 Sep
'18
8 p.m.
Hi, I found a paper from the Greats exactly about desugaring monads into applicatives: The type of >>= allows the second computation (f b) to depend on the result a of the first, whereas <*> does not. This is the essence of the difference between Monad and Applicative; Monad allows dependencies on previous results, whereas Applicative does not. "Desugaring Haskell’s do-Notation into Applicative Operations" by marlow, SPJ, kmett and mokhov
2429
Age (days ago)
2429
Last active (days ago)
0 comments
1 participants
participants (1)
-
Rodrigo Stevaux