@hackage / monadloc-pp

A preprocessor for generating monadic call traces

Latest0.3.1

About

Metadata

  • Last updated , by PepeIborra
  • License LicenseRef-PublicDomain
  • Categories Monads
  • Maintained by: pepeiborra@gmail.com

  • Lottery factor: 0

Links

Installation

Readme

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

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