-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.yaml
72 lines (61 loc) · 1.53 KB
/
package.yaml
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
name: symparsec
version: 1.1.1
synopsis: Type level string parser combinators
description: Please see README.md.
extra-source-files:
- README.md
- CHANGELOG.md
category: Types, Data
license: MIT
license-file: LICENSE
tested-with:
- GHC==9.8
- GHC==9.6
github: raehik/symparsec
maintainer: Ben Orchard <thefirstmuffinman@gmail.com>
author: Ben Orchard
# raehik's extensions (GHC 9.2; last updated: 2022-10-09)
language: GHC2021
default-extensions:
# syntax that should be default
- LambdaCase
- NoStarIsType
## deriving-related
- DerivingVia # implies DerivingStrategies
- DeriveAnyClass
# features that should be default
- GADTs
- RoleAnnotations
# other features
- DefaultSignatures
- TypeFamilies
- DataKinds
# other syntax
- MagicHash
# useful extensions to know about, but which should be specified on-demand
#
# UndecidableInstances:
# required for type class wizardry
# generally only enable if you were expecting to & compilation fails without
# AllowAmbiguousTypes:
# often goes hand in hand with TypeApplications-heavy code
# enabling on demand brings attention to the sort of functions to expect
# StarIsType:
# may need to enable if you're working with old code that uses `Int :: *`
ghc-options:
- -fhide-source-paths # hides module filepaths when compiling (bit neater)
- -Wall
dependencies:
- base >= 4.18 && < 5
- defun-core ^>= 0.1
- singleraeh ^>= 0.4.0
- type-level-show ^>= 0.3.0
library:
source-dirs: src
tests:
spec:
source-dirs: test
main: Main.hs
dependencies:
- symparsec
- type-spec ^>= 0.4.0.0