-
Notifications
You must be signed in to change notification settings - Fork 11
/
true-name.cabal
55 lines (48 loc) · 2 KB
/
true-name.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
cabal-version: 3.0
name: true-name
version: 0.2.0.0
synopsis: Template Haskell hack to violate module abstractions
description:
<http://tvtropes.org/pmwiki/pmwiki.php/Main/IKnowYourTrueName Knowing a true name gives one power over its owner>.
.
A Template Haskell hack to get unexported @Name@s―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 <https://github.com/haskell-github-trust/true-name/blob/master/test/sanity.hs quick examples>.
homepage: https://github.com/haskell-github-trust/true-name
license: BSD-3-Clause
license-file: LICENSE
author: Liyang HU
maintainer: [email protected]
copyright: © 2014−2021 Liyang HU
category: Data, Unsafe
build-type: Simple
stability: experimental
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,
source-repository head
type: git
location: https://github.com/haskell-github-trust/true-name
common buildenv
default-language: Haskell2010
build-depends:
base ^>=4.8.2 || ^>=4.9.1 || ^>=4.10.1 || ^>=4.11.0 || ^>=4.12.0 || ^>=4.13.0 || ^>=4.14.0 || ^>=4.15.0 || ^>=4.16.0 || ^>=4.17.0 || ^>=4.18.0 || ^>=4.19.0,
template-haskell ^>=2.10.0 || ^>=2.11.1 || ^>=2.12.0 || ^>=2.13.0 || ^>=2.14.0 || ^>=2.15.0 || ^>=2.16.0 || ^>=2.17.0 || ^>=2.18.0 || ^>=2.19.0 || ^>=2.20.0 || ^>=2.21.0,
ghc-options: -Wall
library
import: buildenv
exposed-modules:
Unsafe.TrueName
test-suite sanity
import: buildenv
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: sanity.hs
build-depends:
containers ^>=0.5.6 || ^>=0.6.0,
time ^>=1.1.2 || ^>=1.5.0 || ^>=1.6.0 || ^>=1.8.0 || ^>=1.9 || ^>=1.11.1 || ^>=1.12.2,
true-name,
-- vim: et sw=4 ts=4 sts=4: