on 8a63c15 help sign in
effectful/effectful.cabal
129 lines 3.8 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
17tested-with: GHC ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.4
18 || ==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 DefaultSignatures
34 DeriveFunctor
35 FlexibleContexts
36 FlexibleInstances
37 GADTs
38 GeneralizedNewtypeDeriving
39 LambdaCase
40 NamedFieldPuns
41 MultiParamTypeClasses
42 RankNTypes
43 RecordWildCards
44 RoleAnnotations
45 ScopedTypeVariables
46 StrictData
47 TupleSections
48 TypeApplications
49 TypeInType
50 TypeFamilies
51 TypeOperators
53library
54 import: language
56 build-depends: base <5
57 , containers
58 , exceptions
59 , ghc-prim
60 , monad-control
61 , primitive
62 , resourcet
63 , transformers
64 , transformers-base
65 , unliftio-core
67 hs-source-dirs: src
69 exposed-modules: Effectful
70 Effectful.Class.Reader
71 Effectful.Class.State
72 Effectful.Class.Writer
73 Effectful.Coroutine
74 Effectful.Error
75 Effectful.Internal.Env
76 Effectful.Internal.Has
77 Effectful.Internal.Monad
78 Effectful.Internal.Utils
79 Effectful.Reader
80 Effectful.Resource
81 Effectful.State
82 Effectful.State.Dynamic
83 Effectful.State.MVar
84 Effectful.Writer
86test-suite test
87 import: language
89 ghc-options: -threaded -rtsopts
91 build-depends: base <5
92 , effectful
93 , exceptions
94 , lifted-async
95 , lifted-base
96 , tasty
97 , tasty-hunit
98 , unliftio
100 hs-source-dirs: tests
102 type: exitcode-stdio-1.0
103 main-is: Main.hs
105benchmark bench
106 import: language
108 ghc-options: -threaded -rtsopts -with-rtsopts=-T
110 if impl(ghc < 9)
111 build-depends: freer-simple
113 if impl(ghc >= 8.2 && < 9.2)
114 build-depends: fused-effects
116 if impl(ghc >= 8.4 && < 9)
117 build-depends: polysemy
119 build-depends: base <5
120 , effectful
121 , mtl
122 , tasty-bench
124 hs-source-dirs: bench
126 type: exitcode-stdio-1.0
127 main-is: Main.hs
129 other-modules: Countdown