File: ghc-tcplugins-extra.cabal

package info (click to toggle)
haskell-ghc-tcplugins-extra 0.4.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 316 kB
  • sloc: haskell: 901; makefile: 6
file content (220 lines) | stat: -rw-r--r-- 5,854 bytes parent folder | download
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
cabal-version: 2.0

-- This file has been generated from package.dhall by hpack version 0.35.5.
--
-- see: https://github.com/sol/hpack

name:           ghc-tcplugins-extra
version:        0.4.6
synopsis:       Utilities for writing GHC type-checker plugins
description:    Utilities for writing GHC type-checker plugins, such as
                creating constraints, with a stable API covering multiple
                GHC releases.
category:       Type System
homepage:       https://github.com/clash-lang/ghc-tcplugins-extra#readme
bug-reports:    https://github.com/clash-lang/ghc-tcplugins-extra/issues
author:         Christiaan Baaij
maintainer:     christiaan.baaij@gmail.com
copyright:      Copyright © 2015-2016, University of Twente,
                            2017-2018, QBayLogic
license:        BSD2
license-file:   LICENSE
build-type:     Simple
tested-with:
    GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.4, GHC == 8.10.7, GHC == 9.0.2, GHC == 9.2.8, GHC == 9.4.7, GHC == 9.6.5, GHC == 9.8.2, GHC == 9.10.1
extra-source-files:
    README.md
    CHANGELOG.md
    defaults.dhall
    package.dhall

source-repository head
  type: git
  location: https://github.com/clash-lang/ghc-tcplugins-extra

flag deverror
  description: Enables `-Werror` for development mode and TravisCI
  manual: True
  default: False

library
  exposed-modules:
      GHC.TcPluginM.Extra
  other-modules:
      Internal
  hs-source-dirs:
      src
  ghc-options: -Wall
  build-depends:
      base >=4.8 && <5
    , ghc >=7.10 && <9.12
  default-language: Haskell2010
  if impl(ghc >= 8.0.0)
    ghc-options: -Wcompat -Wincomplete-uni-patterns -Widentities -Wredundant-constraints
  if impl(ghc >= 8.4.0)
    ghc-options: -fhide-source-paths
  if flag(deverror)
    ghc-options: -Werror
  if impl(ghc >= 9.10) && impl(ghc < 9.12)
    other-modules:
        GhcApi.Constraint
        GhcApi.Predicate
        GhcApi.GhcPlugins
        Internal.Type
        Internal.Constraint
        Internal.Evidence
    hs-source-dirs:
        src-ghc-tree-9.4
        src-ghc-9.10
    build-depends:
        ghc >=9.10 && <9.12
  if impl(ghc >= 9.8) && impl(ghc < 9.10)
    other-modules:
        GhcApi.Constraint
        GhcApi.Predicate
        GhcApi.GhcPlugins
        Internal.Type
        Internal.Constraint
        Internal.Evidence
    hs-source-dirs:
        src-ghc-tree-9.4
        src-ghc-9.8
    build-depends:
        ghc >=9.8 && <9.10
  if impl(ghc >= 9.4) && impl(ghc < 9.8)
    other-modules:
        GhcApi.Constraint
        GhcApi.Predicate
        GhcApi.GhcPlugins
        Internal.Type
        Internal.Constraint
        Internal.Evidence
    hs-source-dirs:
        src-ghc-tree-9.4
        src-ghc-9.4
    build-depends:
        ghc >=9.4 && <9.8
  if impl(ghc >= 9.2) && impl(ghc < 9.4)
    other-modules:
        GhcApi.Constraint
        GhcApi.Predicate
        GhcApi.GhcPlugins
        Internal.Type
        Internal.Constraint
        Internal.Evidence
    hs-source-dirs:
        src-ghc-tree
        src-ghc-9.2
    build-depends:
        ghc >=9.2 && <9.4
  if impl(ghc >= 9.0) && impl(ghc < 9.2)
    other-modules:
        GhcApi.Constraint
        GhcApi.Predicate
        GhcApi.GhcPlugins
        Internal.Type
        Internal.Constraint
        Internal.Evidence
    hs-source-dirs:
        src-ghc-tree
        src-ghc-9.0
    build-depends:
        ghc >=9.0 && <9.2
  if impl(ghc >= 8.10) && impl(ghc < 9.0)
    other-modules:
        GhcApi.Constraint
        GhcApi.Predicate
        GhcApi.GhcPlugins
        Internal.Type
        Internal.Constraint
        Internal.Evidence
    hs-source-dirs:
        src-ghc-flat
        src-ghc-8.10
    build-depends:
        ghc >=8.10 && <9.0
  if impl(ghc >= 8.8) && impl(ghc < 8.10)
    other-modules:
        GhcApi.Constraint
        GhcApi.Predicate
        GhcApi.GhcPlugins
        Internal.Type
        Internal.Constraint
        Internal.Evidence
    hs-source-dirs:
        src-ghc-flat
        src-ghc-8.8
    build-depends:
        ghc >=8.8 && <8.10
    mixins:
        ghc hiding ()
      , ghc (TcRnTypes as Constraint)
      , ghc (Type as Predicate)
  if impl(ghc >= 8.6) && impl(ghc < 8.8)
    other-modules:
        GhcApi.Constraint
        GhcApi.Predicate
        GhcApi.GhcPlugins
        Internal.Type
        Internal.Constraint
        Internal.Evidence
    hs-source-dirs:
        src-ghc-flat
        src-ghc-8.6
    build-depends:
        ghc >=8.6 && <8.8
    mixins:
        ghc hiding ()
      , ghc (TcRnTypes as Constraint)
      , ghc (Type as Predicate)
  if impl(ghc >= 8.4) && impl(ghc < 8.6)
    other-modules:
        GhcApi.Constraint
        GhcApi.Predicate
        GhcApi.GhcPlugins
        Internal.Type
        Internal.Constraint
        Internal.Evidence
    hs-source-dirs:
        src-ghc-flat
        src-ghc-8.4
    build-depends:
        ghc >=8.4 && <8.6
    mixins:
        ghc hiding ()
      , ghc (TcRnTypes as Constraint)
      , ghc (Type as Predicate)
  if impl(ghc >= 8.2) && impl(ghc < 8.4)
    other-modules:
        GhcApi.Constraint
        GhcApi.Predicate
        GhcApi.GhcPlugins
        Internal.Type
        Internal.Constraint
        Internal.Evidence
    hs-source-dirs:
        src-ghc-flat
        src-ghc-8.2
    build-depends:
        ghc >=8.2 && <8.4
    mixins:
        ghc hiding ()
      , ghc (TcRnTypes as Constraint)
      , ghc (Type as Predicate)
  if impl(ghc >= 8.0) && impl(ghc < 8.2)
    other-modules:
        GhcApi.Constraint
        GhcApi.Predicate
        GhcApi.GhcPlugins
        Internal.Type
        Internal.Constraint
        Internal.Evidence
    hs-source-dirs:
        src-ghc-flat
        src-ghc-8.0
    build-depends:
        ghc >=8.0 && <8.2
    mixins:
        ghc hiding ()
      , ghc (TcRnTypes as Constraint)
      , ghc (Type as Predicate)