Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type fingerprint = int * Digest.t
A fingerprint is a weighted Digest.t
type hash = fingerprint * fingerprint list
A type synonym for the result of the hash_lambda
function
val hash_lambda : config -> threshold -> Lambda.lambda -> hash
Hash a lambda expression. Usage: hash_lambda config threshold expr
. Two lambda expressions "of the same shape" will share the same hash. Particularly, constant are ignored.
Utilities
val hash_all : config -> int -> ('a * Lambda.lambda) list -> ('a * hash) list
Using a hard threshold, hash a list of lambda expressions from Parse_structure.read_structure
.