Description
Template Haskell hack to violate module abstractions.
Description
Knowing a true name gives one power over its owner. . A Template Haskell hack to get unexported Name
s―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.