-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yaml
71 lines (65 loc) · 1.6 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
name: fakedata-quickcheck
version: 0.2.0
license: MIT
author: "Jappie Klooster"
maintainer: "[email protected]"
copyright: "2020 Jappie Klooster"
github: "fakedata-haskell/fakedata-quickcheck"
synopsis: Fake a -> Gen a
description: Use fakedata Fake monad for quicheck tests.
See readme for examples at <https://github.com/fakedata-haskell/fakedata-quickcheck>.
category: Random, Fake, FakeData
extra-source-files:
- Readme.md
- LICENSE
ghc-options:
- -Wall
- -Wcompat
- -Wincomplete-uni-patterns
- -Wredundant-constraints
- -Wincomplete-record-updates
- -Widentities
# from https://lexi-lambda.github.io/blog/2018/02/10/an-opinionated-guide-to-haskell-in-2018/
default-extensions:
# trivial
- EmptyCase
- FlexibleContexts
- FlexibleInstances
- InstanceSigs
- MultiParamTypeClasses
# only activated once used
- LambdaCase
- MultiWayIf
- NamedFieldPuns
- TupleSections
# no cost deriving power
- DeriveFoldable
- DeriveFunctor
- DeriveGeneric
- DeriveLift
- DeriveTraversable
- DerivingStrategies
- GeneralizedNewtypeDeriving
- StandaloneDeriving
# used everywhere anyway
- OverloadedStrings
# ehh syntax
- TypeApplications
dependencies:
- base >= 4.7 && < 5
- QuickCheck >= 2.6 && < 2.15
- fakedata
- random
library:
source-dirs: src
tests:
unit:
main: Spec.hs
source-dirs:
- test
dependencies:
- hspec
- hspec-core
- fakedata-quickcheck
- regex-tdfa
- text