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.

Modules

[Index] [Quick Jump]

Downloads

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.8.2 && <4.9 || >=4.9.1 && <4.10 || >=4.10.1 && <4.11 || >=4.11.0 && <4.12 || >=4.12.0 && <4.13 || >=4.13.0 && <4.14 || >=4.14.0 && <4.15 || >=4.15.0 && <4.16 || >=4.16.0 && <4.17 || >=4.17.0 && <4.18 || >=4.18.0 && <4.19 || >=4.19.0 && <4.20), template-haskell (>=2.10.0 && <2.11 || >=2.11.1 && <2.12 || >=2.12.0 && <2.13 || >=2.13.0 && <2.14 || >=2.14.0 && <2.15 || >=2.15.0 && <2.16 || >=2.16.0 && <2.17 || >=2.17.0 && <2.18 || >=2.18.0 && <2.19 || >=2.19.0 && <2.20 || >=2.20.0 && <2.21 || >=2.21.0 && <2.22) [details]
Tested with ghc ==7.10.3, ghc ==8.0.2, ghc ==8.2.2, ghc ==8.4.1, ghc ==8.6.1, ghc ==8.8.1, ghc ==8.10.1, ghc ==9.0.1, ghc ==9.2.1, ghc ==9.4.1, ghc ==9.6.1, ghc ==9.8.1
License BSD-3-Clause
Copyright © 2014−2021 Liyang HU
Author Liyang HU
Maintainer kris@nutty.land
Category Data, Unsafe
Home page https://github.com/haskell-github-trust/true-name
Source repo head: git clone https://github.com/haskell-github-trust/true-name
Uploaded by nuttycom at 2024-05-16T20:20:14Z
Distributions LTSHaskell:0.2.0.0
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 8380 total (22 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-05-16 [all 1 reports]