packages feed

data-constructors-0.1.0.0: data-constructors.cabal

name:                data-constructors
version:             0.1.0.0
synopsis:            Generically compare data by their constructors
description:         Utilities for comparing data constructor tags, and TH functions for generating comparison definitions
homepage:            https://github.com/daig/data-constructors#readme
license:             BSD3
license-file:        LICENSE
author:              Dai
maintainer:          daig@sodality.cc
copyright:           2017 Dai
category:            Data
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     Data.Constructors.EqC, Data.Constructors.TH
  build-depends:       base >= 4.7 && < 5
                      ,template-haskell
  default-language:    Haskell2010
  ghc-options:         -Wall
  default-extensions: LambdaCase
test-suite data-constructors-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base , data-constructors, QuickCheck
  default-language:    Haskell2010
benchmark bench-EqC
  type:                exitcode-stdio-1.0
  hs-source-dirs:      bench
  main-is:             Bench.hs
  build-depends:       base,data-constructors,QuickCheck,criterion,deepseq
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/daig/data-constructors