-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.yaml
55 lines (48 loc) · 1.25 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
name: valida
version: 1.1.0
github: "TotallyNotChase/valida"
license: MIT
author: "Chase"
maintainer: "totallynotchase42@gmail.com"
copyright: "TotallyNotChase"
extra-source-files:
- README.md
- ChangeLog.md
synopsis: Simple applicative validation for product types, batteries included!
category: Validation, Data
description:
This package provides an applicative validator with support for contravariance. This makes building validators for product types idiomatic and simple. Many common utilities for building validators are also included.
dependencies:
- base >= 4.12 && < 5
- profunctors >= 5
ghc-options:
- -Wall
- -Wcompat
- -Widentities
- -Wincomplete-uni-patterns
- -Wmissed-specialisations
- -Wmissing-export-lists
- -Wpartial-fields
- -Wredundant-constraints
library:
source-dirs: src
exposed-modules:
- Valida
- Valida.Combinators
ghc-options:
- -O2
tests:
valida-test:
main: Spec.hs
source-dirs: test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- tasty
- tasty-hunit
- tasty-quickcheck
- tasty-smallcheck
- smallcheck >= 1.2
- valida