packages feed

resourcet-effectful-1.0.1.0: resourcet-effectful.cabal

cabal-version:      2.4
build-type:         Simple
name:               resourcet-effectful
version:            1.0.1.0
license:            BSD-3-Clause
license-file:       LICENSE
category:           Control
maintainer:         andrzej@rybczak.net
author:             Andrzej Rybczak
synopsis:           Adaptation of the resourcet library for the effectful ecosystem.

description:        Adaptation of the @<https://hackage.haskell.org/package/resourcet resourcet>@ library for the @<https://hackage.haskell.org/package/effectful effectful>@ ecosystem.

extra-source-files:
  CHANGELOG.md
  README.md

tested-with: GHC ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.7 || ==9.6.3
              || ==9.8.1

bug-reports: https://github.com/haskell-effectful/resourcet-effectful/issues
source-repository head
  type:     git
  location: https://github.com/haskell-effectful/resourcet-effectful.git

common language
    ghc-options:        -Wall -Wcompat -Wno-unticked-promoted-constructors

    default-language:   Haskell2010

    default-extensions: BangPatterns
                        ConstraintKinds
                        DataKinds
                        DeriveFunctor
                        DeriveGeneric
                        FlexibleContexts
                        FlexibleInstances
                        GADTs
                        GeneralizedNewtypeDeriving
                        LambdaCase
                        MultiParamTypeClasses
                        NoStarIsType
                        RankNTypes
                        RoleAnnotations
                        ScopedTypeVariables
                        StandaloneDeriving
                        TupleSections
                        TypeApplications
                        TypeFamilies
                        TypeOperators

library
    import:         language

    build-depends:    base                >= 4.13      && < 5
                    , effectful-core      >= 1.0.0.0   && < 3.0.0.0
                    , resourcet           >= 1.2.4.3   && < 1.4

    hs-source-dirs:  src

    exposed-modules: Effectful.Resource