packages feed

box-0.9.3.1: box.cabal

cabal-version: 3.0
name: box
version: 0.9.3.1
license: BSD-3-Clause
license-file: LICENSE
copyright: Tony Day (c) 2017
category: control
author: Tony Day
maintainer: tonyday567@gmail.com
homepage: https://github.com/tonyday567/box#readme
bug-reports: https://github.com/tonyday567/box/issues
synopsis: A profunctor effect system.
description:
    This might be a profunctor effect system, but unlike all the others. See the project readme.org for usage and discussion: https://github.com/tonyday567/box#readme.org
build-type: Simple
tested-with: GHC ==8.10.7 || ==9.2.7 || ==9.4.7 || ==9.6.3 || ==9.8.1
extra-doc-files:
    ChangeLog.md
    readme.org

source-repository head
    type: git
    location: https://github.com/tonyday567/box

common ghc-options-stanza
    ghc-options:
        -Wall
        -Wcompat
        -Wincomplete-record-updates
        -Wincomplete-uni-patterns
        -Wredundant-constraints

common ghc2021-stanza
    if impl ( ghc >= 9.2 )
        default-language: GHC2021

    if impl ( ghc < 9.2 )
        default-language: Haskell2010
        default-extensions:
            BangPatterns
            BinaryLiterals
            ConstrainedClassMethods
            ConstraintKinds
            DeriveDataTypeable
            DeriveFoldable
            DeriveFunctor
            DeriveGeneric
            DeriveLift
            DeriveTraversable
            DoAndIfThenElse
            EmptyCase
            EmptyDataDecls
            EmptyDataDeriving
            ExistentialQuantification
            ExplicitForAll
            FlexibleContexts
            FlexibleInstances
            ForeignFunctionInterface
            GADTSyntax
            GeneralisedNewtypeDeriving
            HexFloatLiterals
            ImplicitPrelude
            InstanceSigs
            KindSignatures
            MonomorphismRestriction
            MultiParamTypeClasses
            NamedFieldPuns
            NamedWildCards
            NumericUnderscores
            PatternGuards
            PolyKinds
            PostfixOperators
            RankNTypes
            RelaxedPolyRec
            ScopedTypeVariables
            StandaloneDeriving
            StarIsType
            TraditionalRecordSyntax
            TupleSections
            TypeApplications
            TypeOperators
            TypeSynonymInstances

    if impl ( ghc < 9.2 ) && impl ( ghc >= 8.10 )
        default-extensions:
            ImportQualifiedPost
            StandaloneKindSignatures

library
    import: ghc-options-stanza
    import: ghc2021-stanza
    hs-source-dirs: src
    build-depends:
        , async          >=2.2 && <2.3
        , base           >=4.7 && <5
        , bytestring     >=0.11.3 && <0.13
        , containers     >=0.6 && <0.8
        , contravariant  >=1.5 && <1.6
        , dlist          >=1.0 && <1.1
        , exceptions     >=0.10 && <0.11
        , kan-extensions >=5.2 && <5.3
        , mtl            >=2.2.2 && <2.4
        , profunctors    >=5.6.2 && <5.7
        , semigroupoids  >=5.3 && <6.1
        , stm            >=2.5.1 && <2.6
        , text           >=1.2 && <2.2
        , time           >=1.10 && <1.13
    exposed-modules:
        Box
        Box.Box
        Box.Codensity
        Box.Committer
        Box.Connectors
        Box.Emitter
        Box.Functor
        Box.IO
        Box.Queue
        Box.Time