cabal-version:       >=1.10

name:                squares
version:             0.2
synopsis:            The double category of Hask functors and profunctors
description:         A library for working with natural transformations of type
                     .
                     @forall a b. p a b -> q (f a) (g b)@
                     .
                     See the "Data.Square" module for an introduction.
homepage:            https://github.com/sjoerdvisscher/squares
bug-reports:         https://github.com/sjoerdvisscher/squares/issues
license:             BSD3
license-file:        LICENSE
author:              Sjoerd Visscher
maintainer:          sjoerd@w3future.com
category:            Math
build-type:          Simple
extra-source-files:
  CHANGELOG.md
  README.md

library
  exposed-modules:     Data.Square
                       Data.Type.List
                       Data.Functor.Compose.List
                       Data.Profunctor.Composition.List
                       Control.Arrow.Square
                       Control.Comonad.Square
                       Control.Monad.Square
                       Data.Distributive.Square
                       Data.Foldable.Square
                       Data.Functor.Square
                       Data.Profunctor.Square
                       Data.Traversable.Square
                       Data.Functor.Adjunction.Square
                       Data.Functor.Kan.Square
                       Data.Functor.Rep.Square
  build-depends:       base >= 4.9 && < 5
                     , profunctors == 5.*
                     , bifunctors == 5.*
                     , distributive == 0.6.*
                     , adjunctions == 4.*
                     , comonad == 5.*
  hs-source-dirs:      src
  default-language:    Haskell2010

source-repository head
  type:     git
  location: git://github.com/sjoerdvisscher/squares.git