loch-th

Support for precise error locations in source files (Template Haskell version) https://github.com/liskin/loch-th

Version on this page:[email protected]:1
LTS Haskell 16.4:0.2.2
Stackage Nightly 2020-07-06:0.2.2
Latest on Hackage:0.2.2

See all snapshots loch-th appears in

BSD-3-Clause licensed by Tomas Janousek
Maintained by [email protected]

Module documentation for 0.2.1

This version can be pinned in stack with:[email protected]:c7cb440409480f734be3f8c381a2d5e6c10e8b3779918844145a7d2d94ba3679,827
  • Debug
    • Debug.Trace
      • Debug.Trace.LocationTH

This module provides a Template Haskell based mechanism to tag failures with the location of the failure call. The location message includes the file name, line and column numbers.