Closed nathan closed 9 years ago
So Control.Monad.Error
is deprecated, but MonadError
still exists and it is in a module called Control.Monad.Error.Class
? That seems really weird to me.
Is there a MonadExcept
? Is it recommended that people start to move away from MonadError
?
The difference between ErrorT
and ExceptT
is that ErrorT
constrains the type of the error data with the Error
class (e.g., compare their MonadError
instances). MonadError
doesn't use Error
, so it isn't deprecated and probably won't ever be.
Okay, looks good to me, thank you!
This probably won't compile in GHC 7.10 without https://github.com/elm-lang/elm-package/pull/98.
See https://github.com/elm-lang/elm-repl/pull/56.