Automatically generate layered monads http://monadgarden.cs.missouri.edu/MonadLab
|Latest on Hackage:||0.0.2|
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
Requires GHC 6.8.3.
$ ./Setup.hs configure
$ ./Setup.hs build
$ sudo ./Setup.hs install
$ mlab [filename.mlab] -- generates "filename.hs"
Better documentation is forthcoming. Have a look at our Haskell Symposium
paper for more information: http://monadgarden.cs.missouri.edu/MonadLab . Some
examples are available in the "examples" directory.
* The parser will fail if a monad specification contains nested parentheses,
e.g. EnvT([(String,Int)]). You can work around this by declaring a type
synonym for the type of the environment/state/etc.