on 01bdb2a help sign in
effectful/effectful.cabal
133 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.6.5 || ==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.12 && <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.Internal.Utils
78 Effectful.Interpreter
79 Effectful.Monad
80 Effectful.Reader
81 Effectful.Resource
82 Effectful.State
83 Effectful.State.Dynamic
84 Effectful.State.MVar
85 Effectful.STM
86 Effectful.Writer
88test-suite test
89 import: language
91 ghc-options: -threaded -rtsopts -with-rtsopts=-N4
93 build-depends: base <5
94 , effectful
95 , exceptions
96 , lifted-base
97 , tasty
98 , tasty-hunit
99 , unliftio
101 hs-source-dirs: tests
103 type: exitcode-stdio-1.0
104 main-is: Main.hs
106benchmark bench
107 import: language
109 ghc-options: -threaded -rtsopts -with-rtsopts=-T
111 if impl(ghc < 9)
112 build-depends: freer-simple
114 if impl(ghc < 9.2)
115 build-depends: fused-effects
117 if impl(ghc < 9)
118 build-depends: polysemy
120 build-depends: base <5
121 , effectful
122 , mtl
123 , tasty-bench
124 , transformers
125 , unix
127 hs-source-dirs: bench
129 type: exitcode-stdio-1.0
130 main-is: Main.hs
132 other-modules: Countdown
133 FileSizes