name: rank2classes version: 1.4 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ć copyright: (c) 2017 Mario Blažević category: Control, Data, Generics build-type: Custom -- extra-source-files: cabal-version: >=1.10 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, 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.6, distributive < 0.7 if flag(use-template-haskell) build-depends: template-haskell >= 2.11 && < 2.16 exposed-modules: Rank2.TH test-suite doctests type: exitcode-stdio-1.0 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 ghc-options: -threaded -pgmL markdown-unlit build-depends: base, rank2classes, distributive < 0.7, tasty < 2, tasty-hunit < 1 build-tool-depends: markdown-unlit:markdown-unlit >= 0.5 && < 0.6