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


Version on this page:0.2.1@rev:1
LTS Haskell 21.12:0.2.2
Stackage Nightly 2023-09-22: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.