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 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 Tue Oct 13 07:17:15 UTC 2015
Distributions NixOS:0.1.0.3
Downloads 1976 total (29 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 2015-10-13 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees