monadloc-pp: A preprocessor for generating monadic call traces
The package monadloc
defines a class for monads which can keep a monadic call trace.
See the blog post http://pepeiborra.wordpress.com/2009/11/01/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
Downloads
- monadloc-pp-0.3.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1, 0.2, 0.2.1, 0.3, 0.3.1 |
---|---|
Dependencies | base (>=4 && <5), filepath, haskell-src-exts (>=1.16.0), monadloc (==0.7), pretty, syb [details] |
License | LicenseRef-PublicDomain |
Author | Pepe Iborra |
Maintainer | pepeiborra@gmail.com |
Category | Control, Monads |
Home page | http://github.com/pepeiborra/monadloc-pp |
Source repo | head: git clone git://github.com/pepeiborra/monadloc-pp.git |
Uploaded | by PepeIborra at 2014-10-17T21:15:50Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Executables | MonadLoc |
Downloads | 4145 total (15 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs not available [build log] Last success reported on 2015-09-30 [all 7 reports] |