monadloc-pp-0.2: monadloc-pp.cabal
name: monadloc-pp
version: 0.2
Cabal-Version: >= 1.6
build-type: Simple
license: PublicDomain
author: Pepe Iborra
maintainer: pepeiborra@gmail.com
homepage: http://github.com/pepeiborra/monadloc
synopsis: A preprocessor for generating monadic call traces
category: Control, Monads
stability: experimental
description:
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
.
Executable MonadLoc
buildable: True
build-depends: base >= 4 && < 5, pretty, syb, monadloc == 0.7, haskell-src-exts >= 1.13.0, filepath
main-is: MonadLoc.hs
ghc-options: -Wall -fno-warn-name-shadowing
source-repository head
type: git
location: git://github.com/pepeiborra/monadloc-pp.git