true-name

Template Haskell hack to violate module abstractions

https://github.com/liyang/true-name

Version on this page:0.1.0.3@rev:1
LTS Haskell 14.27:0.1.0.3@rev:1
Stackage Nightly 2024-10-31:0.2.0.0
Latest on Hackage:0.2.0.0

See all snapshots true-name appears in

BSD-3-Clause licensed by Liyang HU
Maintained by [email protected]
This version can be pinned in stack with:true-name-0.1.0.3@sha256:46b6965831270431d3e358ba20142e7e65ab64da24ef364d9f4ce7ecf9c8a674,1804

Module documentation for 0.1.0.3

Knowing a true name gives one power over its owner.

A Template Haskell hack to get unexported Names―be they types, data constructors, record fields or class methods―a slightly less unsafe way to violate another module's abstractions than unsafeCoerce.

A few quick examples.

I'm too lazy to keep a changelog, but I do write detailed commit messages.