Monad morphism utilities for Haskell monad transformer stacks
open sourceBSD-3-Clausefree
mmorph is a Haskell library of monad morphism utilities, most commonly used for manipulating monad transformer stacks. It exposes the Control.Monad.Morph and Control.Monad.Trans.Compose modules and builds on mtl and transformers.
Problems it solves
- change the base monad of a Haskell monad transformer stack
- hoist a computation through layers of monad transformers
- compose monad transformers in Haskell
Features
- monad morphism utilities in Control.Monad.Morph
- transformer composition in Control.Monad.Trans.Compose
- works with mtl and transformers stacks
Alternatives
The same job
These do what mmorph does.
- transformers Concrete functor and monad transformers for Haskell
- mtl The Monad Transformer Library
- exceptions Extensible optionally-pure exceptions for Haskell
- these Haskell's either-or-both data type, with Align for zipping with padding
