1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
|
name: rank2classes
version: 1.5.3.1
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: Custom
cabal-version: >=1.10
tested-with: GHC==9.2.2, GHC==9.0.1, GHC==8.10.4, GHC==8.8.4, GHC==8.6.5, GHC==8.4.4, GHC==8.2.2
extra-source-files: README.md, CHANGELOG.md, test/MyModule.lhs
source-repository head
type: git
location: https://github.com/blamario/grampa
custom-setup
setup-depends:
base >= 4 && <5,
Cabal < 4,
cabal-doctest >= 1 && <1.1
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.10 && <5,
transformers >= 0.5 && < 0.7,
distributive < 0.7,
data-functor-logistic < 0.1
if flag(use-template-haskell)
build-depends: template-haskell >= 2.11 && < 2.23
exposed-modules: Rank2.TH
test-suite doctests
type: exitcode-stdio-1.0
buildable: false
hs-source-dirs: test
default-language: Haskell2010
main-is: Doctest.hs
other-modules: MyModule
ghc-options: -threaded -pgmL markdown-unlit
build-depends: base, rank2classes, doctest >= 0.8
build-tool-depends: markdown-unlit:markdown-unlit >= 0.5 && < 0.6
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
other-modules: Issue23
ghc-options: -threaded -pgmL markdown-unlit
build-depends: base, rank2classes, distributive < 0.7,
tasty < 2, tasty-hunit < 1,
data-functor-logistic < 0.1
build-tool-depends: markdown-unlit:markdown-unlit >= 0.5 && < 0.6
|