[Haskell-cafe] Re: MonadCatchIO, finally and the error monad
aslatter at gmail.com
Thu Oct 14 17:13:06 EDT 2010
On Thu, Oct 14, 2010 at 1:28 PM, Michael Snoyman <michael at snoyman.com> wrote:
> I thought a bit about this, and I believe the only extra primitive we
> need is one of bracket, bracket_ or finally. I also noticed the
> exception-transformers package, which seems to be a good
> replacement for MonadCatchIO. I contacted the author about adding a
> MonadBracket typeclass, and he said he'll try to get to it. I'm
> planning on making that my replacement for MonadCatchIO (assuming it
> turns out correctly), and if so I'd recommend others do the same.
I didn't notice at first that the Exception type class was simply
re-exported from base. At first glance, that package looked like
entirely too much for what I wanted.
>  http://hackage.haskell.org/package/exception-transformers-0.2
More information about the Haskell-Cafe