[Haskell-cafe] another instance of MonadError
Corentin Dupont
corentin.dupont at gmail.com
Thu Jul 14 22:19:23 UTC 2016
Hello,
IO is an instance of MonadError IOException...
However I also need to make it an instance of MonadError String...
Is it possible?
I'm trying to instanciate this class:
class (Typeable n, Monad n, Applicative n, MonadError String n) => EvMgt n
where ...
instance EvMgt IO where...
Any idea?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160715/a515c203/attachment.html>
More information about the Haskell-Cafe
mailing list