typehash-1.4.0.1: typehash.cabal
Name: typehash
Cabal-Version: >= 1.2
Version: 1.4.0.1
License: BSD3
Author: Lennart Augustsson
Maintainer: Lennart Augustsson
Category: Reflection
Synopsis: Create a unique hash value for a type.
Stability: experimental
Build-type: Simple
Description: Produce a hash for a type that is unique for that type.
The hash takes both actual type names and type structure into account.
This is useful for checking the type of persisted values.
Flag base4
Description: Use base-4.*
Default: True
Library
Hs-Source-Dirs: src
Build-Depends: mtl, bytestring, pureMD5, binary
If flag(base4)
Build-Depends:
base >= 4 && < 4.4,
syb < 0.3
else
Build-Depends: base < 4
Exposed-modules: Data.TypeHash