packages feed

grisette-monad-coroutine-0.1.0.0: grisette-monad-coroutine.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.35.1.
--
-- see: https://github.com/sol/hpack

name:           grisette-monad-coroutine
version:        0.1.0.0
synopsis:       Support for monad-coroutine package with Grisette
description:    Orphan instances and wrappers for monad-coroutine package with Grisette.
category:       Formal Methods, Theorem Provers, Symbolic Computation, SMT
homepage:       https://github.com/lsrcz/grisette-monad-coroutine#readme
bug-reports:    https://github.com/lsrcz/grisette-monad-coroutine/issues
author:         Sirui Lu
maintainer:     Sirui Lu (siruilu@cs.washington.edu)
copyright:      2021-2023 Sirui Lu
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    CHANGELOG.md

source-repository head
  type: git
  location: https://github.com/lsrcz/grisette-monad-coroutine

flag fast
  description: Compile with O2 optimization
  manual: False
  default: True

library
  exposed-modules:
      Grisette.Lib.Control.Monad.Coroutine
      Grisette.Lib.Control.Monad.Coroutine.SuspensionFunctors
      Grisette.Lib.MonadCoroutine
  other-modules:
      Paths_grisette_monad_coroutine
  hs-source-dirs:
      src
  ghc-options: -Wall -ferror-spans
  build-depends:
      base >4.14 && <5
    , grisette >=0.1.0 && <0.2
    , monad-coroutine >=0.9.0.4 && <9.3
    , mtl >=2.2.2 && <2.3
    , transformers >=0.5.6.2 && <0.6
  default-language: Haskell2010
  if flag(fast)
    ghc-options: -O2
  else
    ghc-options: -O0

test-suite spec
  type: exitcode-stdio-1.0
  main-is: Main.hs
  other-modules:
      Grisette.Lib.Control.Monad.Coroutine.SuspensionFunctorsTests
      Grisette.Lib.Control.Monad.CoroutineTests
      Paths_grisette_monad_coroutine
  hs-source-dirs:
      test
  ghc-options: -Wall -ferror-spans
  build-depends:
      base >4.14 && <5
    , grisette >=0.1.0 && <0.2
    , grisette-monad-coroutine
    , monad-coroutine >=0.9.0.4 && <9.3
    , mtl >=2.2.2 && <2.3
    , tasty >=1.1.0.3 && <1.5
    , tasty-hunit ==0.10.*
    , tasty-quickcheck >=0.10.1 && <0.11
    , tasty-test-reporter >=0.1.1.2 && <0.2
    , transformers >=0.5.6.2 && <0.6
  default-language: Haskell2010
  if flag(fast)
    ghc-options: -O2
  else
    ghc-options: -O0