higgledy/higgledy.cabal
Tom Harding ce88cc5f0b Expose Tuple class
For many of the instances, we use a transformation to and from a nested
tuple shape. For example, we can have an instance of `Eq` for any HKD by
converting it to nested tuples and using _that_ instance.

@pacak notes that, while this is fine in principal, not exposing it
means that we can't write functions on top of various internals that are
suitably polymorphic because we can't add this class as a constraint.

This commit exposes this class, and frees us all.
2019-06-10 10:02:02 +01:00

47 lines
1.6 KiB
Plaintext

cabal-version: 2.4
name: higgledy
version: 0.2.1.0
synopsis: Partial types as a type constructor.
description: Use the generic representation of an ADT to get a higher-kinded data-style interface automatically.
homepage: https://github.com/i-am-tom/higgledy
-- bug-reports:
license: MIT
license-file: LICENSE
author: Tom Harding
maintainer: tom.harding@habito.com
-- copyright:
category: Data
extra-source-files: CHANGELOG.md
, README.md
library
exposed-modules: Data.Generic.HKD
Data.Generic.HKD.Build
Data.Generic.HKD.Construction
Data.Generic.HKD.Field
Data.Generic.HKD.Labels
Data.Generic.HKD.Position
Data.Generic.HKD.Types
-- other-modules:
-- other-extensions:
build-depends: base ^>= 4.12
, barbies ^>= 1.1.0
, generic-lens ^>= 1.1.0
, QuickCheck ^>= 2.12.6
hs-source-dirs: src
default-language: Haskell2010
test-suite test
build-depends: base
, barbies ^>= 1.1.0
, doctest ^>= 0.16.0
, higgledy
, hspec ^>= 2.6.1
, lens ^>= 4.17
, QuickCheck ^>= 2.12.6
main-is: Main.hs
type: exitcode-stdio-1.0
hs-source-dirs: test
default-language: Haskell2010