Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
class Hashable h a where Source #
A generic hashing interface for Symbolic DSL.
h
is the result of the hashing algorithm;
a
is the datatype being hashed.
The relationship between datatypes and hashes is many-to-many so there's no functional dependency in either direction.
An invertible hash h
of a symbolic datatype a
.