File: package.yaml

package info (click to toggle)
haskell-type-errors 0.2.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 92 kB
  • sloc: haskell: 138; makefile: 6
file content (60 lines) | stat: -rw-r--r-- 1,202 bytes parent folder | download | duplicates (3)
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
name:                type-errors
version:             0.2.0.0
github:              "isovector/type-errors"
license:             BSD3
author:              "Sandy Maguire"
maintainer:          "sandy@sandymaguire.me"
copyright:           "2019 Sandy Maguire"

extra-source-files:
- README.md
- ChangeLog.md

synopsis:            Tools for writing better type errors
category:            Type

description:         Please see the README on GitHub at <https://github.com/isovector/type-errors#readme>

dependencies:
- base >= 4.7 && < 5
- first-class-families >= 0.5.0.0
- template-haskell
- th-abstraction
- syb

library:
  source-dirs: src

ghc-options:
  - -Wall

default-extensions:
  - ConstraintKinds
  - DataKinds
  - FlexibleContexts
  - LambdaCase
  - PolyKinds
  - ScopedTypeVariables
  - TemplateHaskellQuotes
  - TypeApplications
  - TypeFamilies
  - TypeOperators
  - UndecidableInstances

when:
  - condition: impl(ghc < 8.6)
    default-extensions:
      - TypeInType

tests:
  test:
    main:                Main.hs
    source-dirs:         test
    ghc-options:
    - -threaded
    - -rtsopts
    - -with-rtsopts=-N
    dependencies:
    - type-errors
    - doctest >= 0.16.0.1 && < 0.17