[Haskell-cafe] Inverting a Monad

Bas van Dijk v.dijk.bas at gmail.com
Wed Feb 6 06:51:16 EST 2008


On Feb 6, 2008 12:45 PM, Felipe Lessa <felipe.lessa at gmail.com> wrote:
> I guess your parser is a monad transformer, so *maybe* the solution is to require
> MonadError from the inner monad.

Indeed my parser 'P t m a' is a monad transformer. I will try out
requiring 'm' to have a 'MonadError' constraint and see how far I come
with that.

I'll let you know.

Thanks,

Bas


More information about the Haskell-Cafe mailing list