on fbc5b30 help sign in
effectful/effectful.cabal
140 lines 4.0 kB history raw
1cabal-version: 2.4
2build-type: Simple
3name: effectful
4version: 0.0.0.0
5license: BSD-3-Clause
6license-file: LICENSE
7category: Control
8maintainer: andrzej@rybczak.net
9author: Andrzej Rybczak
10synopsis: An easy to use, performant extensible effects library.
12description: An easy to use, performant extensible effects library with seamless
13 integration with the existing Haskell ecosystem.
15extra-source-files: CHANGELOG.md
16 README.md
18tested-with: GHC ==8.8.4 || ==8.10.4 || ==9.0.1 || ==9.2.0.20210422
20bug-reports: https://github.com/arybczak/effectful/issues
21source-repository head
22 type: git
23 location: https://github.com/arybczak/effectful.git
25common language
26 ghc-options: -Wall
28 default-language: Haskell2010
30 default-extensions: BangPatterns
31 ConstraintKinds
32 DataKinds
33 FlexibleContexts
34 FlexibleInstances
35 GADTs
36 GeneralizedNewtypeDeriving
37 LambdaCase
38 MultiParamTypeClasses
39 RankNTypes
40 RecordWildCards
41 RoleAnnotations
42 ScopedTypeVariables
43 StrictData
44 TupleSections
45 TypeApplications
46 TypeFamilies
47 TypeOperators
49library
50 import: language
52 ghc-options: -O2
54 build-depends: base >= 4.13 && <5
55 , async
56 , containers
57 , exceptions
58 , ghc-prim
59 , monad-control
60 , primitive
61 , resourcet
62 , stm
63 , transformers
64 , transformers-base
65 , unliftio-core
67 hs-source-dirs: src
69 exposed-modules: Effectful.Async
70 Effectful.Class.Reader
71 Effectful.Class.State
72 Effectful.Class.Writer
73 Effectful.Error
74 Effectful.Internal.Effect
75 Effectful.Internal.Env
76 Effectful.Internal.Monad
77 Effectful.Interpreter
78 Effectful.Monad
79 Effectful.Reader
80 Effectful.Resource
81 Effectful.State
82 Effectful.State.Dynamic
83 Effectful.State.MVar
84 Effectful.STM
85 Effectful.Writer
86 Effectful.Writer.Dynamic
87 Effectful.Writer.MVar
89test-suite test
90 import: language
92 ghc-options: -threaded -rtsopts -with-rtsopts=-N4
94 build-depends: base <5
95 , containers
96 , effectful
97 , exceptions
98 , lifted-base
99 , tasty
100 , tasty-hunit
101 , unliftio
103 hs-source-dirs: tests
105 type: exitcode-stdio-1.0
106 main-is: Main.hs
108 other-modules: AsyncTests
109 ErrorTests
110 StateTests
111 Utils
113benchmark bench
114 import: language
116 ghc-options: -threaded -rtsopts -with-rtsopts=-T
118 if impl(ghc < 9)
119 build-depends: freer-simple
121 if impl(ghc < 9.2)
122 build-depends: fused-effects
124 if impl(ghc < 9)
125 build-depends: polysemy
127 build-depends: base <5
128 , effectful
129 , mtl
130 , tasty-bench
131 , transformers
132 , unix
134 hs-source-dirs: bench
136 type: exitcode-stdio-1.0
137 main-is: Main.hs
139 other-modules: Countdown
140 FileSizes