| 1 |
name: natural-transformation |
| 2 |
version: 0.4.1 |
| 3 |
synopsis: A natural transformation package. |
| 4 |
description: A natural transformation transforms a container @f a@ into another |
| 5 |
container @g a@. Natural transformations act as functor morphisms |
| 6 |
in category theory. |
| 7 |
. |
| 8 |
The naming of '~>', ':~>' and '$$' were taken, |
| 9 |
with permission, from Edward Kmett's @indexed@ package. |
| 10 |
homepage: https://github.com/ku-fpg/natural-transformation |
| 11 |
bug-reports: https://github.com/ku-fpg/natural-transformation/issues |
| 12 |
license: BSD3 |
| 13 |
license-file: LICENSE |
| 14 |
stability: Provisional |
| 15 |
author: Andy Gill |
| 16 |
maintainer: Andy Gill <[email protected]> |
| 17 |
copyright: Copyright (c) 2015-2016 The University of Kansas |
| 18 |
category: Control |
| 19 |
build-type: Simple |
| 20 |
extra-source-files: CHANGELOG.md, README.md |
| 21 |
tested-with: GHC == 8.0.2 |
| 22 |
, GHC == 8.2.2 |
| 23 |
, GHC == 8.4.4 |
| 24 |
, GHC == 8.6.5 |
| 25 |
, GHC == 8.8.4 |
| 26 |
, GHC == 8.10.7 |
| 27 |
, GHC == 9.0.2 |
| 28 |
, GHC == 9.2.8 |
| 29 |
, GHC == 9.4.8 |
| 30 |
, GHC == 9.6.6 |
| 31 |
, GHC == 9.8.2 |
| 32 |
, GHC == 9.10.1 |
| 33 |
cabal-version: >= 1.10 |
| 34 |
|
| 35 |
source-repository head |
| 36 |
type: git |
| 37 |
location: https://github.com/ku-fpg/natural-transformation |
| 38 |
|
| 39 |
library |
| 40 |
exposed-modules: Control.Natural |
| 41 |
Control.Natural.RULES |
| 42 |
Control.Object |
| 43 |
|
| 44 |
build-depends: base >= 4.9 && < 5 |
| 45 |
hs-source-dirs: src |
| 46 |
default-language: Haskell2010 |
| 47 |
ghc-options: -Wall |
| 48 |
|
| 49 |
test-suite natural-transformation-properties |
| 50 |
type: exitcode-stdio-1.0 |
| 51 |
main-is: Properties.hs |
| 52 |
build-depends: base >= 4.9 && < 5 |
| 53 |
, containers >= 0.1 && < 0.8 |
| 54 |
, natural-transformation |
| 55 |
, quickcheck-instances >= 0.1 && < 0.4 |
| 56 |
, tasty >= 0.8 && < 1.6 |
| 57 |
, tasty-quickcheck >= 0.8 && < 0.11 |
| 58 |
hs-source-dirs: tests |
| 59 |
default-language: Haskell2010 |
| 60 |
ghc-options: -Wall |