packages feed

kindly-functors-0.1.0.0: kindly-functors.cabal

cabal-version:   3.4
name:            kindly-functors
category:        Control, Categories
version:         0.1.0.0
synopsis:        A category polymorphic `Functor` typeclass
description:     A category polymorphic `Functor` typeclass.
homepage:        https://www.github.com/solomon-b/kindly-functors
license:         MIT
license-file:    LICENSE
author:          Solomon Bothwell
maintainer:      ssbothwell@gmail.com
-- copyright:
build-type:      Simple
extra-doc-files: CHANGELOG.md
                 README.md
                 .gitignore
tested-with:     GHC == 9.0.2,
                 GHC == 9.2.8,
                 GHC == 9.4.8,
                 GHC == 9.6.3,

--------------------------------------------------------------------------------

common warnings
    ghc-options: -Wall

--------------------------------------------------------------------------------

common common-extensions
  default-extensions:
    ConstraintKinds
    DataKinds
    DerivingVia
    FlexibleContexts
    FlexibleInstances
    FunctionalDependencies
    GADTs
    GeneralizedNewtypeDeriving
    ImportQualifiedPost
    InstanceSigs
    MultiParamTypeClasses
    NoImplicitPrelude
    PolyKinds
    QuantifiedConstraints
    RankNTypes
    RecordWildCards
    ScopedTypeVariables
    StandaloneDeriving
    StandaloneKindSignatures
    TypeApplications
    TypeFamilies
    TypeOperators
    UndecidableInstances

--------------------------------------------------------------------------------

library
    import:           common-extensions, warnings
    exposed-modules:
      Kindly
      Kindly.Class
      Kindly.Bifunctor
      Kindly.Functor
      Kindly.Iso
      Kindly.Rank2
      Kindly.Trifunctor
    build-depends:
      base > 4 && < 5,
      mtl                           >= 2.2.2 && < 2.4,
      profunctors                   >= 5.6.2 && < 5.7,
      semigroupoids                 >= 6.0.0 && < 6.1,
      these                         >= 1.2 && < 1.3,
      witherable                    >= 0.4.2 && < 0.5,
    hs-source-dirs:   src
    default-language: Haskell2010

--------------------------------------------------------------------------------

test-suite kindly-functors-test
    import:           warnings
    default-language: Haskell2010
    -- other-modules:
    -- other-extensions:
    type:             exitcode-stdio-1.0
    hs-source-dirs:   test
    main-is:          Main.hs
    build-depends:
        base > 4 && < 5,
        hspec,
        kindly-functors