packages feed

ki-effectful-0.1.0.0: ki-effectful.cabal

cabal-version:      3.0
name:               ki-effectful
version:            0.1.0.0
category:           Concurrency
stability:          experimental
synopsis:           Adaptation of the ki library for the effectful ecosystem.
description:
  Adaptation of the @<https://hackage.haskell.org/package/ki ki>@ library for the @<https://hackage.haskell.org/package/effectful effectful>@ ecosystem.

bug-reports:        https://github.com/TristanCacqueray/ki-effectful/issues
homepage:           https://github.com/TristanCacqueray/ki-effectful#readme
author:             Tristan de Cacqueray
maintainer:         tdecacqu@redhat.com
copyright:          2022 Red Hat
license:            MIT
license-file:       LICENSE.md
build-type:         Simple
extra-source-files:
  CHANGELOG.md
  README.md

source-repository head
  type:     git
  location: https://github.com/TristanCacqueray/ki-effectful

common common
  ghc-options:
    -Weverything -Wno-redundant-constraints -Wno-implicit-prelude
    -Wno-missing-import-lists -Wno-safe -Wno-unsafe
    -Wno-missing-safe-haskell-mode -Wno-missing-local-signatures

  if impl(ghc >=9.2)
    ghc-options: -Wno-missing-kind-signatures

  default-language: Haskell2010

library
  import:          common
  hs-source-dirs:  src
  exposed-modules: Effectful.Ki
  build-depends:
    , base            <5
    , effectful-core  >=1.0 && <3.0
    , ki              ^>=1.0
    , stm             ^>=2.5

test-suite ki-effectful-test
  import:         common
  ghc-options:    -rtsopts -threaded -with-rtsopts=-N
  type:           exitcode-stdio-1.0
  main-is:        Main.hs
  hs-source-dirs: test
  build-depends:
    , base            <5
    , effectful-core  >=1.0   && <3.0
    , ki-effectful
    , stm             ^>=2.5
    , tasty           ^>=1.4.2
    , tasty-hunit     ^>=0.10