loch-th

Support for precise error locations in source files (Template Haskell version)

https://github.com/liskin/loch-th

Version on this page:0.2.1@rev:1
LTS Haskell 18.0:0.2.2
Stackage Nightly 2021-06-21: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 tomi@nomi.cz
This version can be pinned in stack with:loch-th-0.2.1@sha256:c7cb440409480f734be3f8c381a2d5e6c10e8b3779918844145a7d2d94ba3679,827

Module documentation for 0.2.1

  • 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.