name: rank2classes
version: 1.2
synopsis: standard type constructor class hierarchy, only with methods of rank 2 types
description:
A mirror image of the standard type constructor class hierarchy rooted in 'Functor', except with methods of rank 2
types and class instances of kind @(k->*)->*@. The classes enable generic handling of heterogenously typed data
structures and other neat tricks.
homepage: https://github.com/blamario/grampa/tree/master/rank2classes
bug-reports: https://github.com/blamario/grampa/issues
license: BSD3
license-file: LICENSE
author: Mario Blažević
maintainer: Mario Blažević <blamario@protonmail.com>
copyright: (c) 2017 Mario Blažević
category: Control, Data, Generics
build-type: Simple
-- extra-source-files:
cabal-version: >=1.10
extra-source-files: README.md, CHANGELOG.md, test/README.lhs
source-repository head
type: git
location: https://github.com/blamario/grampa
flag use-template-haskell
description: Enable the compilation of the Rank2.TH module
default: True
manual: True
library
hs-source-dirs: src
exposed-modules: Rank2
default-language: Haskell2010
-- other-modules:
ghc-options: -Wall
build-depends: base >=4.9 && <5,
transformers >= 0.5 && < 0.6,
distributive < 0.7
if flag(use-template-haskell)
build-depends: template-haskell >= 2.11 && < 2.15
exposed-modules: Rank2.TH
test-suite doctests
type: exitcode-stdio-1.0
hs-source-dirs: test
default-language: Haskell2010
main-is: Doctest.hs
ghc-options: -threaded -pgmL markdown-unlit
build-depends: base, rank2classes, doctest >= 0.8
test-suite TH
if !flag(use-template-haskell)
buildable: False
type: exitcode-stdio-1.0
hs-source-dirs: test
default-language: Haskell2010
main-is: TH.hs
ghc-options: -threaded -pgmL markdown-unlit
build-depends: base, rank2classes, distributive < 0.7,
tasty < 2, tasty-hunit < 1