forked from haskell-github-trust/true-name
-
Notifications
You must be signed in to change notification settings - Fork 1
/
true-name.cabal
57 lines (52 loc) · 1.73 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
55
56
name: true-name
version: 0.1.0.4
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/liyang/true-name/blob/master/test/sanity.hs quick examples>.
.
I'm too lazy to keep a changelog, but I do write <https://github.com/liyang/true-name/commits/master detailed commit messages>.
homepage: https://github.com/liyang/true-name
license: BSD3
license-file: LICENSE
author: Liyang HU
maintainer: true-name@liyang.hu
copyright: © 2014−2021 Liyang HU
category: Data, Unsafe
build-type: Simple
cabal-version: >= 1.10
stability: experimental
tested-with:
GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3,
GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5,
GHC == 8.8.3,
GHC == 8.10.1
source-repository head
type: git
location: https://github.com/liyang/true-name
library
default-language: Haskell2010
exposed-modules:
Unsafe.TrueName
build-depends:
base >= 4.5 && < 5,
template-haskell >= 2.7
ghc-options: -Wall
test-suite sanity
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: sanity.hs
build-depends:
base,
containers,
time,
template-haskell,
true-name
ghc-options: -Wall
-- vim: et sw=4 ts=4 sts=4: