-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathrecover-rtti.cabal
125 lines (112 loc) · 4.8 KB
/
recover-rtti.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
cabal-version: 2.4
name: recover-rtti
version: 0.5.0
synopsis: Recover run-time type information from the GHC heap
description: The main function in this package is 'classify', which looks
at the GHC heap to recover type information about arbitrary
values. This makes it possible for example to show any value
(function 'anythingToString') without having any @Show@
instance in scope, though there are other use cases as well.
For example, you could use it to define an 'anythingToJSON'
function.
bug-reports: https://github.com/well-typed/recover-rtti/issues
license: BSD-3-Clause
license-file: LICENSE
author: Edsko de Vries
maintainer: [email protected]
copyright: Juspay Technologies Pvt Ltd, Well-Typed LLP
category: Debugging
extra-source-files:
README.md
CHANGELOG.md
Tested-With: GHC ==8.10.7
|| ==9.0.2
|| ==9.2.7
|| ==9.4.5
|| ==9.6.2
|| ==9.8.2
|| ==9.10.1
source-repository head
type: git
location: https://github.com/well-typed/recover-rtti
library
exposed-modules: Debug.RecoverRTTI
Debug.RecoverRTTI.Classify
Debug.RecoverRTTI.ClosureTree
other-modules: Debug.RecoverRTTI.CheckSame
Debug.RecoverRTTI.Classifier
Debug.RecoverRTTI.Constraint
Debug.RecoverRTTI.Debugging
Debug.RecoverRTTI.FlatClosure
Debug.RecoverRTTI.Modules
Debug.RecoverRTTI.Nat
Debug.RecoverRTTI.Reclassify
Debug.RecoverRTTI.Tuple
Debug.RecoverRTTI.Tuple.Recursive
Debug.RecoverRTTI.Tuple.Size
Debug.RecoverRTTI.Util
Debug.RecoverRTTI.Wrappers
build-depends: base >= 4.13 && < 4.21
, aeson >= 1.4 && < 2.3
, bytestring >= 0.10 && < 0.13
, containers >= 0.6 && < 0.8
, ghc-heap >= 8.8 && < 9.11
, ghc-prim >= 0.5 && < 0.12
, sop-core >= 0.5 && < 0.6
, stm >= 2.5 && < 2.6
, text >= 1.2 && < 2.2
-- mtl 2.3 does not have ExceptT?
, mtl (>= 2.2 && < 2.3) || (>= 2.3.1 && < 2.4)
-- 0.2.12 introduces Data.HashMap.Internal.Array
, unordered-containers >= 0.2.12 && < 0.3
-- The oldest ghc we support is 8.8.
-- The dependencies below are the oldest versions of
-- these packages that compile with this ghc version.
, vector >= 0.12.1.2 && < 0.14
, primitive >= 0.7 && < 0.10
-- later versions of primitive use a compat package for Data.Array.Byte
if impl(ghc < 9.4)
build-depends: data-array-byte >= 0.1 && < 0.2
if impl(ghc >= 9.10)
build-depends: ghc-internal
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
-Wredundant-constraints
test-suite test-recover-rtti
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: RecoverRttiTests.hs
other-modules: Test.RecoverRTTI.Classifier.Arbitrary
Test.RecoverRTTI.Classifier.Equality
Test.RecoverRTTI.Classifier.Size
Test.RecoverRTTI.Classify
Test.RecoverRTTI.ConcreteClassifier
Test.RecoverRTTI.Globals
Test.RecoverRTTI.Prim
Test.RecoverRTTI.QuickCheck.DepGen
Test.RecoverRTTI.QuickCheck.Sized
Test.RecoverRTTI.Sanity
Test.RecoverRTTI.Show
Test.RecoverRTTI.Staged
Test.RecoverRTTI.UserDefined
build-depends: base >= 4.13
, recover-rtti
, aeson
, bytestring
, containers
, ghc-heap
, ghc-prim
, mtl
, primitive
, QuickCheck
, sop-core
, stm
, tasty
, tasty-hunit
, tasty-quickcheck
, text
, unordered-containers
, vector
ghc-options: -Wall