Proposal: instance MonadIO Q
Matthias Hörmann
mhoermann at gmail.com
Wed Jul 29 13:30:06 UTC 2015
Is there a particular reason to still push MonadIO even though
MonadBase (from transformers-base) is a cleaner, more
general approach that also fits much more nicely with more powerful
abstractions like MonadBaseControl (from monad-control)?
I know it uses MultiParamTypeClasses but is there another, more
practical reason for not using MonadBase IO instead of MonadIO?
On Thu, Jul 23, 2015 at 11:29 PM, Ryan Scott <ryan.gl.scott at gmail.com> wrote:
> It looks like GHC's internal MonadIO was replaced with the one from
> transformers in 2013 [1], so this is already fixed.
>
> Also, +1 on the MonadIO to base suggestion, now that's there's some
> momentum behind that idea.
>
> ----------
> [1] http://git.haskell.org/ghc.git/blobdiff/b13d546f9c454e6d2a15c20a3e10ec47328e33db..71feb1025eed0c3cc849c85e2b00e16bc1a21790:/compiler/utils/MonadUtils.hs
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
More information about the Libraries
mailing list