true-name: Template Haskell hack to violate another module's 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 data constructors, record fields or class methods―a slightly less unsafe way to violate another module's abstractions than unsafeCoerce.

A few quick examples.

Versions [faq] 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−2015 Liyang HU
Author Liyang HU
Maintainer true-name@liyang.hu
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 Wed Jan 14 16:29:55 UTC 2015
Distributions NixOS:0.1.0.3, Stackage:0.1.0.3
Downloads 2519 total (68 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2015-01-14 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees