Generic GHC Plugin for annotating Haskell code with source location data.
|Latest on Hackage:||0.2.2.0|
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
This package provides a generic Core-to-Core pass for annotating Haskell expressions with the original source locations, making them available at runtime.
You can use it to build a GHC Plugin tailored to your own library by providing a predicate to select interesting expressions for annotation and a function to annotate the expressions.