[Haskell-cafe] [ANN] transformers-base, transformers-abort, monad-abort-fd
mikhail.vorozhtsov at gmail.com
Thu Nov 10 12:58:15 CET 2011
I've been using these three small transformer libraries for awhile, so
it's probably time to announce them.
transformers-base introduces a generalized version of MonadIO,
MonadBase (BaseM in monadLib terms). It's very useful when you are
trying to make a stateful API work in both IO and STM (and all
transformer stacks on top of them).
transformers-abort basically gives you two versions of EitherT, one
for errors and one for short-circuiting. Includes instances for
semigroupoids and monad-control classes.
monad-abort-fd is a typical companion auto-lifter package for
transformers-abort. But it also provides a generalized version of
Control.Exception which tries to thread effects properly (e.g.
finalizers can read (if control didn't escape) and modify the state in
More information about the Haskell-Cafe