This repository has been archived by the owner on Dec 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.yaml
133 lines (120 loc) · 3.12 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
name: freer-effects
version: 0.3.0.0
category: Control
synopsis: Implementation of effect system for Haskell.
description: |
Implementation of effect system for Haskell (actively maintained fork of
<http://hackage.haskell.org/package/freer freer>), which is based on the
work of Oleg Kiselyov et al.:
.
* <http://okmij.org/ftp/Haskell/extensible/more.pdf Freer Monads, More Extensible Effects>
.
* <http://okmij.org/ftp/Haskell/zseq.pdf Reflection without Remorse>
.
* <http://okmij.org/ftp/Haskell/extensible/exteff.pdf Extensible Effects>
.
The key features are:
.
* An efficient effect system for Haskell - as a library!
.
* Reimplementations of several common Haskell monad transformers as effects.
.
* Core components for defining your own Effects.
github: IxpertaSolutions/freer-effects
tested-with: GHC==8.0.2, GHC==8.0.1, GHC==7.10.3, GHC==7.8.4
license: BSD3
author: Allele Dev, Ixcom Core Team, and other contributors
maintainer: [email protected]
copyright: (c) 2016 Allele Dev; 2017 Ixperta Solutions s.r.o.
extra-source-files:
- README.md
- changelog.md
flags:
pedantic:
description: Pass additional warning flags and -Werror to GHC.
manual: true
default: false
test-hlint:
description: Enable test suite that checks sources using HLint.
manual: true
default: false
when:
- condition: flag(pedantic)
ghc-options:
- -Werror
- condition: impl(ghc >=8)
ghc-options:
# Introduced in GHC 8.
- -Wredundant-constraints
# Older Cabal generates warnings with its Paths_* module.
- -Wmissing-import-lists
ghc-options:
- -Wall
- -fwarn-tabs
- -fwarn-implicit-prelude
dependencies:
- base >=4.7 && <5
library:
source-dirs: src
exposed-modules:
- Control.Monad.Freer
- Control.Monad.Freer.Coroutine
- Control.Monad.Freer.Cut
- Control.Monad.Freer.Exception
- Control.Monad.Freer.Fresh
- Control.Monad.Freer.Internal
- Control.Monad.Freer.NonDet
- Control.Monad.Freer.Reader
- Control.Monad.Freer.State
- Control.Monad.Freer.StateRW
- Control.Monad.Freer.Trace
- Control.Monad.Freer.Writer
- Data.FTCQueue
- Data.OpenUnion
- Data.OpenUnion.Internal
when:
- condition: impl(ghc >=7.10)
cpp-options: -DDEPRECATED_LANGUAGE_OVERLAPPING_INSTANCES
executables:
freer-examples:
source-dirs: examples/src
main: Main.hs
dependencies:
- freer-effects
tests:
unit:
source-dirs: tests
main: Tests.hs
dependencies:
# TODO: bounds
- QuickCheck
- freer-effects
- tasty
- tasty-hunit
- tasty-quickcheck
hlint:
source-dirs: tests
main: hlint.hs
other-modules: []
ghc-options:
- -threaded
- -with-rtsopts=-N
when:
- condition: flag(test-hlint)
then:
buildable: true
dependencies: [hlint >=1.9]
else:
buildable: false
benchmarks:
core:
source-dirs: bench
main: Core.hs
ghc-options: -O2
dependencies:
# TODO: bounds
- criterion
- extensible-effects >= 1.11 && < 1.12
- free
- freer-effects
- mtl