The compose-trans package

[Tags: bsd3, library]

A version of monad transformers that (a) allows one to convince the type checker that transformer application is a monad, and (b) doesn't need lots of boilerplate to add a new transformer. It's supposed to play nicely with Control.Monad.Trans.

In order to make a new transformer (say, T) an instance of TransM (TransP, TransF) class, all you have to do is:

After that, you can use your new and shiny transformer in compositions, like ReaderT Char :. T :. WriterT String — and such a composition would automagically become a monad transformer.


Versions0.0, 0.1
Change logNone available
Dependenciesbase (>=2 && <5), mtl [details]
AuthorMiguel Mitrofanov
UploadedSat Nov 5 13:10:11 UTC 2011 by MiguelMitrofanov
Downloads415 total (20 in last 30 days)
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]




Maintainers' corner

For package maintainers and hackage trustees