true-name: Template Haskell hack to violate module abstractions

[ bsd3, data, library, unsafe ] [ Propose Tags ]

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.

Versions 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
Dependencies base (>=4.5 && <5), template-haskell (>=2.7) [details]
License BSD-3-Clause
Copyright © 2014−2017 Liyang HU
Author Liyang HU
Maintainer true-name@liyang.hu
Revised Revision 1 made by LiyangHu at Thu Aug 24 09:02:50 UTC 2017
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 Thu Aug 24 08:53:57 UTC 2017
Distributions LTSHaskell:0.1.0.3, NixOS:0.1.0.3, openSUSE:0.1.0.3
Downloads 1789 total (15 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-08-24 [all 1 reports]
Hackage Matrix CI

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

For package maintainers and hackage trustees