This package defines a class for monads which can keep a monadic call trace.
<http://pepeiborra.wordpress.com/2009/11/01/monadic-stack-traces-that-make-a-lot-of-sense> for more information.
A preprocessor is available (see the package monadloc-pp) which 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
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. /Changes/:
'Control.Monad.Loc' to be Safe. (thanks to Deian Stefan)
minimize the set of dependencies.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
0.7.1-bp156.3.3 info | GA Release | 2023-12-07 | 15 SP6 |
|
|
0.7.1-bp155.2.13 info | GA Release | 2023-05-22 | 15 SP5 |
|
|
0.7.1-bp154.1.14 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
0.7.1-bp153.1.19 info | GA Release | 2021-04-13 | 15 SP3 |
|
|
0.7.1-bp152.3.17 info | GA Release | 2020-06-16 | 15 SP2 |
|
|
0.7.1-bp151.3.2 info | GA Release | 2019-07-17 | 15 SP1 |
|
|
0.7.1-bp151.2.20 info | GA Release | 2019-05-31 | 15 SP1 |
|
|
0.7.1-bp150.2.6 info | GA Release | 2018-08-01 | 15 |
|
|
0.7.1-bp150.2.5 info | GA Release | 2018-07-30 | 15 |
|
|