The monadloc-pp package
The package monadloc defines a class for monads which can keep a monadic call trace.
See the blog post http://pepeiborra.posterous.com/monadic-stack-traces-that-make-a-lot-of-sense for more information.
This package provides a preprocessor that inserts calls to Control.Monad.Loc.withLoc before every monadic statement in a module. To invoke the preprocessor, add the pragma OPTIONS_GHC -F -pgmF MonadLoc at the top of your Haskell files together with an import for the Control.Monad.Loc module
Properties
| Version | 0.1 |
|---|---|
| Dependencies | base (4.*), filepath, haskell-src-exts (≥1.3.0), monadloc (0.6), pretty, syb |
| License | PublicDomain |
| Author | Pepe Iborra |
| Maintainer | pepeiborra@gmail.com |
| Stability | experimental |
| Category | Control, Monads |
| Home page | http://github.com/pepeiborra/monadloc |
| Source repository | git clone git://github.com/pepeiborra/monadloc-pp.git |
| Executables | MonadLoc |
| Upload date | Sat Dec 10 15:19:53 UTC 2011 |
| Uploaded by | PepeIborra |
Downloads
- monadloc-pp-0.1.tar.gz (Cabal source package)
- package description (included in the package)