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
LTS Haskell 22.14:0.2.2
Stackage Nightly 2024-03-28: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]
This version can be pinned in stack with:loch-th-0.2.1@sha256:7b543d2e740d85b43bd4af851df5d883f66ef3b3581c436de17cad491e09513f,763

Module documentation for 0.2.1

  • Debug
    • Debug.Trace
      • Debug.Trace.LocationTH
Used by 3 packages in nightly-2018-01-21(full list with versions):

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.