packages feed

multi-except-2.0.0: multi-except.cabal

cabal-version:       3.0

name:                multi-except
version:             2.0.0
synopsis:            Multiple Exceptions
description:         Succeed, or return one or more errors.
license:             MIT
license-file:        LICENSE
author:              Owen Shepherd
maintainer:          owen@owen.cafe
category:            Exceptions
build-type:          Simple
extra-doc-files:     CHANGELOG.md
                   , README.md
homepage:            https://github.com/414owen/multi-except

tested-with:
    GHC==9.6.2
  , GHC==9.4.5
  , GHC==9.2.8
  , GHC==9.0.2
  , GHC==8.10.7
  , GHC==8.8.4
  , GHC==8.6.5
  , GHC==8.4.4
  , GHC==8.2.2
  , GHC==8.0.2
  , GHC==7.10.3
  , GHC==7.8.4
  , GHC==7.6.3
  , GHC==7.4.2
  , GHC==7.2.2
  , GHC==7.0.4

source-repository head
  type:     git
  location: https://github.com/414owen/multi-except.git

common common-import
  default-language:    Haskell2010
  ghc-options:         -Wall -W
  if impl(ghc >= 8.0)
    ghc-options:       -Wcompat

library
  import:              common-import
  exposed-modules:     Control.Applicative.MultiExcept
  hs-source-dirs:      multi-except
  build-depends:       base >=4.0 && <5

library semigroupoid-instances
  import:              common-import
  exposed-modules:     Control.Applicative.MultiExcept.Alt
  hs-source-dirs:      multi-except-semigroupoids
  visibility:          public
  build-depends:       base >=4.0 && <5
                     , multi-except
                     , semigroupoids >=1 && <7

test-suite unit-tests
  import:             common-import
  type:               exitcode-stdio-1.0
  hs-source-dirs:     test
  main-is:            Main.hs
  other-modules:      Test.MultiExcept.Functor
                    , Test.MultiExcept.Applicative
                    , Test.MultiExcept.Alt
                    , Test.MultiExcept.Bifunctor
                    , Test.MultiExcept.Foldable
                    , Test.MultiExcept.Traversable
  build-depends:      base
                    , multi-except
                    , multi-except:semigroupoid-instances
                    , hspec >=2 && <3
                    , semigroupoids >=1 && <7