packages feed

bluefin-algae-0.1.0.2: bluefin-algae.cabal

cabal-version:      3.4
name:               bluefin-algae
version:            0.1.0.2
synopsis:
  Algebraic effects and named handlers in Bluefin.
description:
  A framework for user-defined effects powered by delimited continuations.
license:            MIT
license-file:       LICENSE
author:             Li-yao Xia
maintainer:         lysxia@gmail.com
copyright:          Li-yao Xia 2024
category:           Control
build-type:         Simple
extra-doc-files:    CHANGELOG.md README.md
tested-with:
  GHC == 9.6.4
  GHC == 9.8.2
  GHC == 9.10.1
  GHC == 9.12.2

common warnings
    ghc-options: -Wall

library
    import:           warnings
    exposed-modules:
      Bluefin.Algae
      Bluefin.Algae.DynExn
      Bluefin.Algae.DelCont
      Bluefin.Exception.Dynamic
      Bluefin.Algae.Reader
      Bluefin.Algae.State
      Bluefin.Algae.Exception
      Bluefin.Algae.Exception.DynExn
      Bluefin.Algae.NonDeterminism
      Bluefin.Algae.Coroutine
    reexported-modules:
      Bluefin.Eff
    build-depends:
      bluefin >= 0.0.6 && < 0.1,
      bluefin-internal < 0.2,
      base >=4.18 && < 4.22
    hs-source-dirs:   src
    default-language: Haskell2010

test-suite main-test
    import:           warnings
    default-language: Haskell2010
    type:             exitcode-stdio-1.0
    hs-source-dirs:   test
    main-is:          Main.hs
    build-depends:
        base,
        tasty,
        tasty-hunit,
        bluefin,
        bluefin-algae

benchmark quadratic-counter
    import:           warnings
    default-language: Haskell2010
    type:             exitcode-stdio-1.0
    hs-source-dirs:   bench
    main-is:          quadratic-counter.hs
    build-depends:
        base,
        tasty-bench,
        bluefin,
        bluefin-algae

source-repository head
  type:     git
  location: https://github.com/Lysxia/bluefin-algae