The monadloc package

[Tags:library, public-domain]

This package defines a class for monads which can keep a monadic call trace.

A preprocessor is provided which can insert 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

This package provides no implementation of the Control.Monad.Loc.MonadLoc interface. Currently the only package that does so is control-monad-exception, but any other package can implement it and provide monadic call traces.

Properties

Versions 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.7.1
Dependencies base (>=3 && <5), haskell-src-exts, mtl, pretty, syb, template-haskell, transformers [details]
License PublicDomain
Author Pepe Iborra
Maintainer pepeiborra@gmail.com
Stability experimental
Category Control, Monads
Home page http://github.com/pepeiborra/monadloc
Uploaded Mon Nov 9 14:26:08 UTC 2009 by PepeIborra
Distributions LTSHaskell:0.7.1, NixOS:0.7.1, Stackage:0.7.1
Downloads 3126 total (16 in the last 30 days)
Votes
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Flags

NameDescriptionDefaultType
syb-in-baseDisabledAutomatic
mtlEnabledAutomatic
transformersEnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees