effectful/effectful.cabal

125 lines
3.5 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-11 16:26:44 +03:00
synopsis: A simple, yet powerful extensible effects library.
2021-05-29 07:22:14 +03:00
2021-06-13 20:57:30 +03:00
description: A simple, performant extensible effects library with seamless
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
tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.4
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
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
2021-06-15 21:59:12 +03:00
build-depends: base >= 4.12 && <5
2021-06-11 16:26:44 +03:00
, containers
2021-05-29 07:22:14 +03:00
, exceptions
, ghc-prim
, monad-control
, primitive
, resourcet
, transformers
, transformers-base
, unliftio-core
hs-source-dirs: src
2021-06-15 21:59:12 +03:00
exposed-modules: Effectful.Class.Reader
2021-06-13 20:57:30 +03:00
Effectful.Class.State
Effectful.Class.Writer
Effectful.Error
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
Effectful.Internal.Utils
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
Effectful.Writer
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
build-depends: base <5
2021-06-13 20:57:30 +03:00
, effectful
2021-06-12 00:41:53 +03:00
, exceptions
, lifted-async
, 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-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
2021-05-29 07:22:14 +03:00
if impl(ghc >= 8.2 && < 9.2)
build-depends: fused-effects
if impl(ghc >= 8.4 && < 9)
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
hs-source-dirs: bench
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules: Countdown