package coq

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Hashcons.MakeSource

Create a new hashconsing, given canonicalization functions.

Parameters

module X : HashconsedType

Signature

Sourcetype t = X.t

Type of objects to hashcons.

Sourcetype u = X.u

Type of hashcons functions for the sub-structures contained in t.

Sourcetype table

Type of hashconsing tables

Sourceval generate : u -> table

This create a hashtable of the hashconsed objects.

Sourceval hcons : table -> t -> t

Perform the hashconsing of the given object within the table.

Recover statistics of the hashconsing table.

OCaml

Innovation. Community. Security.