true-name: Template Haskell hack to violate module abstractions

[ bsd3, data, library, unsafe ] [ Propose Tags ] [ Report a vulnerability ]

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.

Modules

[Index]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.0.0, 0.0.0.1, 0.0.0.2, 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.2.0.0
Dependencies base (>=4.5 && <5), template-haskell (>=2.7 && <2.12) [details]
Tested with ghc ==7.4.2, ghc ==7.6.3, ghc ==7.8.4, ghc ==7.10.2, ghc ==7.10.3, ghc >=8.0 && <8.2
License BSD-3-Clause
Copyright © 2014−2016 Liyang HU
Author Liyang HU
Maintainer true-name@liyang.hu
Revised Revision 1 made by phadej at 2020-07-21T16:11:59Z
Category Data, Unsafe
Home page https://github.com/liyang/true-name
Source repo head: git clone https://github.com/liyang/true-name
Uploaded by LiyangHu at 2016-05-13T00:49:16Z
Distributions Stackage:0.2.0.0
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 8339 total (36 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-11-25 [all 1 reports]