effectful/effectful.cabal

142 lines
4.0 KiB
Plaintext
Raw Normal View History

2021-05-29 07:22:14 +03:00
cabal-version: 2.4
build-type: Simple
2021-06-13 20:57:30 +03:00
name: effectful
2021-06-12 16:15:04 +03:00
version: 0.0.0.0
2021-05-29 07:22:14 +03:00
license: BSD-3-Clause
license-file: LICENSE
category: Control
maintainer: andrzej@rybczak.net
author: Andrzej Rybczak
2021-06-20 22:37:41 +03:00
synopsis: An easy to use, performant extensible effects library.
2021-05-29 07:22:14 +03:00
2021-06-20 22:37:41 +03:00
description: An easy to use, performant extensible effects library with seamless
2021-06-13 20:57:30 +03:00
integration with the existing Haskell ecosystem.
2021-05-29 07:22:14 +03:00
extra-source-files: CHANGELOG.md
README.md
2021-06-11 16:26:44 +03:00
2021-06-26 19:53:46 +03:00
tested-with: GHC ==8.8.4 || ==8.10.4 || ==9.0.1 || ==9.2.0.20210422
2021-05-29 07:22:14 +03:00
2021-06-13 20:57:30 +03:00
bug-reports: https://github.com/arybczak/effectful/issues
2021-05-29 07:22:14 +03:00
source-repository head
type: git
2021-06-13 20:57:30 +03:00
location: https://github.com/arybczak/effectful.git
2021-05-29 07:22:14 +03:00
common language
ghc-options: -Wall
default-language: Haskell2010
default-extensions: BangPatterns
ConstraintKinds
DataKinds
FlexibleContexts
FlexibleInstances
GADTs
2021-06-22 20:40:49 +03:00
GeneralizedNewtypeDeriving
2021-05-29 07:22:14 +03:00
LambdaCase
2021-06-13 20:57:30 +03:00
MultiParamTypeClasses
2021-05-29 07:22:14 +03:00
RankNTypes
RecordWildCards
RoleAnnotations
ScopedTypeVariables
StrictData
TupleSections
TypeApplications
TypeFamilies
TypeOperators
library
import: language
ghc-options: -O2
2021-06-26 19:53:46 +03:00
build-depends: base >= 4.13 && <5
2021-06-24 02:50:38 +03:00
, async
2021-06-11 16:26:44 +03:00
, containers
2021-05-29 07:22:14 +03:00
, exceptions
, ghc-prim
, monad-control
, primitive
, resourcet
2021-06-24 03:12:36 +03:00
, stm
2021-05-29 07:22:14 +03:00
, transformers
, transformers-base
, unliftio-core
hs-source-dirs: src
2021-06-24 02:50:38 +03:00
exposed-modules: Effectful.Async
Effectful.Class.Reader
2021-06-13 20:57:30 +03:00
Effectful.Class.State
Effectful.Class.Writer
Effectful.Error
2021-06-30 20:01:39 +03:00
Effectful.Fail
2021-06-15 21:59:12 +03:00
Effectful.Internal.Effect
2021-06-13 20:57:30 +03:00
Effectful.Internal.Env
Effectful.Internal.Monad
2021-06-15 21:59:12 +03:00
Effectful.Interpreter
Effectful.Monad
2021-06-13 20:57:30 +03:00
Effectful.Reader
Effectful.Resource
Effectful.State
Effectful.State.Dynamic
Effectful.State.MVar
2021-06-24 03:12:36 +03:00
Effectful.STM
2021-06-13 20:57:30 +03:00
Effectful.Writer
2021-06-26 17:03:21 +03:00
Effectful.Writer.Dynamic
Effectful.Writer.MVar
2021-05-29 07:22:14 +03:00
2021-06-12 00:41:53 +03:00
test-suite test
import: language
ghc-options: -threaded -rtsopts -with-rtsopts=-N4
2021-06-12 00:41:53 +03:00
build-depends: base <5
2021-06-27 01:13:36 +03:00
, containers
2021-06-13 20:57:30 +03:00
, effectful
2021-06-12 00:41:53 +03:00
, exceptions
, lifted-base
2021-06-12 00:41:53 +03:00
, tasty
, tasty-hunit
, unliftio
2021-06-12 00:41:53 +03:00
hs-source-dirs: tests
type: exitcode-stdio-1.0
main-is: Main.hs
2021-06-27 00:39:21 +03:00
other-modules: AsyncTests
ErrorTests
StateTests
Utils
2021-05-29 07:22:14 +03:00
benchmark bench
import: language
ghc-options: -threaded -rtsopts -with-rtsopts=-T
2021-06-12 00:41:53 +03:00
if impl(ghc < 9)
build-depends: freer-simple
if impl(ghc < 9.2)
2021-05-29 07:22:14 +03:00
build-depends: fused-effects
if impl(ghc < 9)
2021-05-29 07:22:14 +03:00
build-depends: polysemy
build-depends: base <5
2021-06-13 20:57:30 +03:00
, effectful
2021-05-29 07:22:14 +03:00
, mtl
, tasty-bench
2021-06-22 20:40:49 +03:00
, transformers
, unix
2021-05-29 07:22:14 +03:00
hs-source-dirs: bench
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules: Countdown
2021-06-22 20:40:49 +03:00
FileSizes