true-name

Template Haskell hack to violate another module's abstractions

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

Version on this page:0.1.0.0
LTS Haskell 14.27:0.1.0.3@rev:1
Stackage Nightly 2019-09-21:0.1.0.3@rev:1
Latest on Hackage:0.1.0.3@rev:2

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.0@sha256:35541c4118fe85463d87add530a38825d8db276242bdbe6c9771134c64d050d4,1432

Module documentation for 0.1.0.0

Knowing a true name gives one power over its owner.

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

A few quick examples.