Ross Paterson wrote:
Yes, because you need part of the value generated by the first computation,
namely the state (inside the f), to construct the second one.  You can do
that in a Monad, but not in an Applicative.

This makes me wonder: does that mean there is no such thing as an applicative transformer?

Martijn.

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to