packages feed

fused-effects-exceptions-1.1.0.1: fused-effects-exceptions.cabal

cabal-version:       2.4

name:                fused-effects-exceptions
version:             1.1.0.1
synopsis:            Handle exceptions thrown in IO with fused-effects.
description:         Provides Resource and Catch effects capable of reacting to and catching GHC's dynamic exceptions.
homepage:            https://github.com/fused-effects/fused-effects-exceptions#readme
license:             BSD-3-Clause
license-file:        LICENSE
author:              Josh Vera, Patrick Thomson, and Rob Rix
maintainer:          patrickt@github.com
copyright:           2019 Josh Vera, Patrick Thomson, and Rob Rix
category:            Control
build-type:          Simple
extra-source-files:
  README.md
  ChangeLog.md

tested-with:
  GHC == 8.2.2
  GHC == 8.4.4
  GHC == 8.6.5
  GHC == 8.8.3
  GHC == 8.10.1
  GHC == 9.0.1

common common
  default-language: Haskell2010

library
  import: common
  hs-source-dirs: src
  exposed-modules:
    Control.Carrier.State.IORef
    Control.Effect.Exception
  build-depends:
      base             >= 4.7 && < 5
    , fused-effects    >= 1.1
    , transformers     >= 0.4 && < 0.6

test-suite test
  import: common
  type: exitcode-stdio-1.0
  hs-source-dirs: test
  main-is: Main.hs
  build-depends:
      base
    , fused-effects-exceptions
    , fused-effects
    , tasty         ^>= 1.2
    , tasty-hunit   ^>= 0.10
    , transformers

test-suite docs
  import:      common
  type:        exitcode-stdio-1.0
  main-is:     README.lhs
  ghc-options: -pgmL markdown-unlit
  build-depends:
      base
    , fused-effects
    , fused-effects-exceptions
  build-tool-depends:
      markdown-unlit:markdown-unlit ^>= 0.5

source-repository head
  type:     git
  location: https://github.com/fused-effects/fused-effects-exceptions