Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
62 lines (55 sloc) 2.19 KB
Name: hashable
Synopsis: A class for types that can be converted to a hash value
Description: This package defines a class, 'Hashable', for types that
can be converted to a hash value. This class
exists for the benefit of hashing-based data
structures. The package provides instances for
basic types and a way to combine hash values.
License: BSD3
License-file: LICENSE
Author: Milan Straka <>
Johan Tibell <>
Stability: Provisional
Category: Data
Build-type: Simple
Cabal-version: >=1.8
-- tests/Properties.hs shouldn't have to go here, but the source files
-- for the test-suite stanzas don't get picked up by `cabal sdist`.
CHANGES,, tests/Properties.hs, benchmarks/Benchmarks.hs
Flag integer-gmp
Description: Are we using integer-gmp to provide fast Integer instances?
Default: True
Exposed-modules: Data.Hashable
Build-depends: base >= 4.0 && < 5.0,
bytestring >= 0.9
if impl(ghc)
Build-depends: ghc-prim,
text >=
if impl(ghc) && flag(integer-gmp)
Build-depends: integer-gmp >= 0.2
C-sources: cbits/hashByteString.c
Ghc-options: -Wall
if impl(ghc >= 6.8)
Ghc-options: -fwarn-tabs
Test-suite tests
Type: exitcode-stdio-1.0
Hs-source-dirs: tests
Main-is: Properties.hs
Build-depends: base >= 4.0 && < 5.0,
test-framework >= 0.3.3,
test-framework-quickcheck2 >= 0.2.9,
QuickCheck >=,
random == 1.0.*,
text >=
Ghc-options: -Wall -fno-warn-orphans
source-repository head
type: git
Something went wrong with that request. Please try again.