File: th-expand-syns.cabal

package info (click to toggle)
haskell-th-expand-syns 0.4.11.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 104 kB
  • sloc: haskell: 398; makefile: 2
file content (63 lines) | stat: -rw-r--r-- 2,144 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
name:                th-expand-syns
version:             0.4.11.0
x-revision: 4
synopsis:            Expands type synonyms in Template Haskell ASTs
description:         Expands type synonyms in Template Haskell ASTs.
                     .
                     As of version @0.4.9.0@, this library is a small shim on
                     top of the @applySubstitution@/@resolveTypeSynonyms@
                     functions from @th-abstraction@, so you may want to
                     consider using @th-abstraction@ instead.
category:            Template Haskell
license:             BSD3
license-file:        LICENSE
author:              Daniel Schüssler
maintainer:          Ryan Scott <ryan.gl.scott@gmail.com>
cabal-version:       >= 1.10
build-type:          Simple
extra-source-files:  changelog.markdown
homepage:            https://github.com/DanielSchuessler/th-expand-syns
tested-with:
    GHC == 7.0.4
    GHC == 7.2.2
    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.4
    GHC == 8.10.7
    GHC == 9.0.2
    GHC == 9.2.2

source-repository head
 type: git
 location: https://github.com/DanielSchuessler/th-expand-syns.git

Library
    build-depends:       base             >= 4.3   && < 5
                       , containers
                       , syb
                       , th-abstraction   >= 0.4.3 && < 0.8
                       , template-haskell >= 2.5   && < 2.23
    ghc-options:         -Wall
    exposed-modules:     Language.Haskell.TH.ExpandSyns
    other-modules:       Language.Haskell.TH.ExpandSyns.SemigroupCompat
    default-language:    Haskell2010

Test-Suite test-th-expand-syns
    type:               exitcode-stdio-1.0
    hs-source-dirs:     testing
    main-is:            Main.hs
    other-modules:      Util, Types
    build-depends:      base
                      , template-haskell
                      , th-abstraction
                      , th-expand-syns
    ghc-options:        -Wall
    if impl(ghc >= 8.6)
      ghc-options:      -Wno-star-is-type
    default-language:   Haskell2010