forked from hasura/monad-validate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yaml
91 lines (84 loc) · 1.86 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
name: monad-validate
version: 1.2.0.0
category: Control
copyright: 2019 Hasura
license: ISC
author: Alexis King <lexi.lambda@gmail.com>
github: hasura/monad-validate
synopsis: A monad transformer for data validation.
description: |
Provides the 'ValidateT' monad transformer, designed for writing data validations that provide
high-quality error reporting without much effort. 'ValidateT' automatically exploits the data
dependencies of your program—as encoded implicitly in uses of 'fmap', '<*>', and '>>='—to report
as many errors as possible upon failure instead of completely aborting at the first one. See
"Control.Monad.Validate" for more information.
extra-source-files:
- CHANGELOG.md
- LICENSE
- package.yaml
- README.md
- stack.yaml
ghc-options:
- -Wall
- -Wcompat
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wredundant-constraints
default-extensions:
- ApplicativeDo
- BangPatterns
- ConstraintKinds
- DataKinds
- DeriveFoldable
- DeriveFunctor
- DeriveGeneric
- DeriveLift
- DeriveTraversable
- DerivingVia
- EmptyCase
- ExistentialQuantification
- FlexibleContexts
- FlexibleInstances
- FunctionalDependencies
- GADTs
- GeneralizedNewtypeDeriving
- InstanceSigs
- KindSignatures
- LambdaCase
- MultiParamTypeClasses
- MultiWayIf
- NamedFieldPuns
- OverloadedStrings
- RankNTypes
- ScopedTypeVariables
- StandaloneDeriving
- TupleSections
- TypeApplications
- TypeFamilies
dependencies:
- base >= 4.12 && < 5
- exceptions >= 0.9 && < 1
- monad-control >= 1 && < 2
- mtl
- transformers >= 0.5.6
- transformers-base < 1
library:
dependencies: []
source-dirs: src
tests:
monad-validate-test-suite:
dependencies:
- aeson
- aeson-qq
- hspec
- monad-validate
- scientific
- text
- unordered-containers
- vector
ghc-options:
- -rtsopts
- -threaded
- -with-rtsopts=-N
main: Main.hs
source-dirs: test