packages feed

hashable-generics-1.1.10: hashable-generics.cabal

name:                hashable-generics
version:             1.1.10
synopsis:            Automatically generates Hashable instances with GHC.Generics.
description:
    WARNING: This has been merged into, and made obsolete by Data.Hashable version 1.2. Please use the built-in instances.
    .
    This package provides a "GHC.Generics"-based 'Data.Hashable.Generic.gHashWithSalt'
    function which can be used for providing a 'hashWithSalt' implementation.
    See the documentation for the 'gHashWithSalt' function in the
    "Data.Hashable.Generic" module to get started.
    .
    This package is heavily inspired by deepseq-generics, which you may also find
    useful.
homepage:            https://github.com/wowus/hashable-generics
license:             BSD3
license-file:        LICENSE
author:              Clark Gaebel
copyright:           2012, Clark Gaebel
maintainer:          cgaebel@uwaterloo.ca
category:            Data
build-type:          Simple
cabal-version:       >=1.8
tested-with:         GHC ==7.4.1, GHC ==7.6.1

source-repository head
    type: git
    location: https://github.com/wowus/hashable-generics.git

library
    exposed-modules:     Data.Hashable.Generic
    build-depends:       base >=4.5 && <4.7
                       , hashable ==1.1.*
                       , ghc-prim

test-suite tests
    type: exitcode-stdio-1.0
    main-is: Suite.hs
    hs-source-dirs: test
    build-depends:       base
                       , hashable
                       , test-framework ==0.6.*
                       , test-framework-quickcheck2 ==0.2.*
                       , QuickCheck ==2.5.*
                       , hashable-generics
                       , ghc-prim

benchmark compare-to-handrolled
    type: exitcode-stdio-1.0
    hs-source-dirs: bench
    main-is: Bench.hs
    build-depends: base
                 , hashable
                 , hashable-generics
                 , ghc-prim
                 , criterion ==0.6.*