-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.yaml
71 lines (65 loc) · 1.58 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: monad-mock
version: 0.2.0.0
category: Testing
synopsis: A monad transformer for mocking mtl-style typeclasses
description: |
This package provides a monad transformer that helps create “mocks” of
@mtl@-style typeclasses, intended for use in unit tests. A mock can be
executed by providing a sequence of expected monadic calls and their results,
and the mock will verify that the computation conforms to the expectation.
For more information, see the module documentation for "Control.Monad.Mock".
copyright: 2017 CJ Affiliate by Conversant
license: ISC
author: Alexis King <[email protected]>
maintainer: Alexis King <[email protected]>
github: cjdev/monad-mock
extra-source-files:
- CHANGELOG.md
- LICENSE
- package.yaml
- README.md
- stack.yaml
ghc-options: -Wall
default-extensions:
- DefaultSignatures
- FlexibleContexts
- FlexibleInstances
- GADTs
- GeneralizedNewtypeDeriving
- LambdaCase
- MultiParamTypeClasses
- ScopedTypeVariables
- StandaloneDeriving
- TupleSections
- TypeFamilies
- TypeOperators
library:
dependencies:
- base >= 4.8.0.0 && < 5
- constraints >= 0.3.1
- exceptions >= 0.6
- haskell-src-exts
- haskell-src-meta
- th-orphans
- monad-control >= 1.0.0.0 && < 2
- mtl
- template-haskell >= 2.10.0.0 && < 2.13
- transformers-base
when:
- condition: impl(ghc < 8)
dependencies:
- transformers
source-dirs: library
tests:
monad-stub-test-suite:
dependencies:
- base
- hspec
- monad-mock
- mtl
ghc-options:
- -rtsopts
- -threaded
- -with-rtsopts=-N
main: Main.hs
source-dirs: test-suite