mirror of
https://github.com/haskell-effectful/effectful.git
synced 2024-11-23 14:36:11 +03:00
125 lines
3.5 KiB
Plaintext
125 lines
3.5 KiB
Plaintext
cabal-version: 2.4
|
|
build-type: Simple
|
|
name: effectful
|
|
version: 0.0.0.0
|
|
license: BSD-3-Clause
|
|
license-file: LICENSE
|
|
category: Control
|
|
maintainer: andrzej@rybczak.net
|
|
author: Andrzej Rybczak
|
|
synopsis: A simple, yet powerful extensible effects library.
|
|
|
|
description: A simple, performant extensible effects library with seamless
|
|
integration with the existing Haskell ecosystem.
|
|
|
|
extra-source-files: CHANGELOG.md
|
|
README.md
|
|
|
|
tested-with: GHC ==8.6.5 || ==8.8.4 || ==8.10.4
|
|
|
|
bug-reports: https://github.com/arybczak/effectful/issues
|
|
source-repository head
|
|
type: git
|
|
location: https://github.com/arybczak/effectful.git
|
|
|
|
common language
|
|
ghc-options: -Wall
|
|
|
|
default-language: Haskell2010
|
|
|
|
default-extensions: BangPatterns
|
|
ConstraintKinds
|
|
DataKinds
|
|
FlexibleContexts
|
|
FlexibleInstances
|
|
GADTs
|
|
LambdaCase
|
|
MultiParamTypeClasses
|
|
RankNTypes
|
|
RecordWildCards
|
|
RoleAnnotations
|
|
ScopedTypeVariables
|
|
StrictData
|
|
TupleSections
|
|
TypeApplications
|
|
TypeFamilies
|
|
TypeOperators
|
|
|
|
library
|
|
import: language
|
|
|
|
build-depends: base >= 4.12 && <5
|
|
, containers
|
|
, exceptions
|
|
, ghc-prim
|
|
, monad-control
|
|
, primitive
|
|
, resourcet
|
|
, transformers
|
|
, transformers-base
|
|
, unliftio-core
|
|
|
|
hs-source-dirs: src
|
|
|
|
exposed-modules: Effectful.Class.Reader
|
|
Effectful.Class.State
|
|
Effectful.Class.Writer
|
|
Effectful.Error
|
|
Effectful.Internal.Effect
|
|
Effectful.Internal.Env
|
|
Effectful.Internal.Monad
|
|
Effectful.Internal.Utils
|
|
Effectful.Interpreter
|
|
Effectful.Monad
|
|
Effectful.Reader
|
|
Effectful.Resource
|
|
Effectful.State
|
|
Effectful.State.Dynamic
|
|
Effectful.State.MVar
|
|
Effectful.Writer
|
|
|
|
test-suite test
|
|
import: language
|
|
|
|
ghc-options: -threaded -rtsopts
|
|
|
|
build-depends: base <5
|
|
, effectful
|
|
, exceptions
|
|
, lifted-async
|
|
, lifted-base
|
|
, tasty
|
|
, tasty-hunit
|
|
, unliftio
|
|
|
|
hs-source-dirs: tests
|
|
|
|
type: exitcode-stdio-1.0
|
|
main-is: Main.hs
|
|
|
|
benchmark bench
|
|
import: language
|
|
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-T
|
|
|
|
if impl(ghc < 9)
|
|
build-depends: freer-simple
|
|
|
|
if impl(ghc >= 8.2 && < 9.2)
|
|
build-depends: fused-effects
|
|
|
|
if impl(ghc >= 8.4 && < 9)
|
|
build-depends: polysemy
|
|
|
|
build-depends: base <5
|
|
, effectful
|
|
, mtl
|
|
, tasty-bench
|
|
|
|
hs-source-dirs: bench
|
|
|
|
type: exitcode-stdio-1.0
|
|
main-is: Main.hs
|
|
|
|
other-modules: Countdown
|