-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yaml
62 lines (51 loc) · 1.45 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
name: generic-data-functions
version: 0.6.0
synopsis: Familiar functions lifted to generic data types
description: Please see README.md.
extra-source-files:
- README.md
- CHANGELOG.md
category: Data, Generics
license: MIT
license-file: LICENSE
github: raehik/generic-data-functions
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:
- -Wall
# omitting ticks is good; see https://gitlab.haskell.org/ghc/ghc/-/issues/20531
# (off by default since GHC 9.4)
- -Wno-unticked-promoted-constructors
dependencies:
- base >= 4.16 && < 5
- contravariant ^>= 1.5.5
library:
source-dirs: src