on b42e0dc help sign in
effectful/effectful.cabal
134 lines 3.9 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 , effectful
96 , exceptions
97 , lifted-base
98 , tasty
99 , tasty-hunit
100 , unliftio
102 hs-source-dirs: tests
104 type: exitcode-stdio-1.0
105 main-is: Main.hs
107benchmark bench
108 import: language
110 ghc-options: -threaded -rtsopts -with-rtsopts=-T
112 if impl(ghc < 9)
113 build-depends: freer-simple
115 if impl(ghc < 9.2)
116 build-depends: fused-effects
118 if impl(ghc < 9)
119 build-depends: polysemy
121 build-depends: base <5
122 , effectful
123 , mtl
124 , tasty-bench
125 , transformers
126 , unix
128 hs-source-dirs: bench
130 type: exitcode-stdio-1.0
131 main-is: Main.hs
133 other-modules: Countdown
134 FileSizes