on 209f615 help sign in
effectful/effectful.cabal
126 lines 3.6 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: A simple, yet powerful extensible effects library.
12description: A simple, 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 LambdaCase
37 MultiParamTypeClasses
38 RankNTypes
39 RecordWildCards
40 RoleAnnotations
41 ScopedTypeVariables
42 StrictData
43 TupleSections
44 TypeApplications
45 TypeFamilies
46 TypeOperators
48library
49 import: language
51 ghc-options: -O2
53 build-depends: base >= 4.12 && <5
54 , containers
55 , exceptions
56 , ghc-prim
57 , monad-control
58 , primitive
59 , resourcet
60 , transformers
61 , transformers-base
62 , unliftio-core
64 hs-source-dirs: src
66 exposed-modules: Effectful.Class.Reader
67 Effectful.Class.State
68 Effectful.Class.Writer
69 Effectful.Error
70 Effectful.Internal.Effect
71 Effectful.Internal.Env
72 Effectful.Internal.Monad
73 Effectful.Internal.Utils
74 Effectful.Interpreter
75 Effectful.Monad
76 Effectful.Reader
77 Effectful.Resource
78 Effectful.State
79 Effectful.State.Dynamic
80 Effectful.State.MVar
81 Effectful.Writer
83test-suite test
84 import: language
86 ghc-options: -threaded -rtsopts
88 build-depends: base <5
89 , effectful
90 , exceptions
91 , lifted-async
92 , lifted-base
93 , tasty
94 , tasty-hunit
95 , unliftio
97 hs-source-dirs: tests
99 type: exitcode-stdio-1.0
100 main-is: Main.hs
102benchmark bench
103 import: language
105 ghc-options: -threaded -rtsopts -with-rtsopts=-T
107 if impl(ghc < 9)
108 build-depends: freer-simple
110 if impl(ghc >= 8.2 && < 9.2)
111 build-depends: fused-effects
113 if impl(ghc >= 8.4 && < 9)
114 build-depends: polysemy
116 build-depends: base <5
117 , effectful
118 , mtl
119 , tasty-bench
121 hs-source-dirs: bench
123 type: exitcode-stdio-1.0
124 main-is: Main.hs
126 other-modules: Countdown