package rocq-runtime

  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 table

Type of hashconsing tables

Sourceval generate : unit -> table

This create a hashtable of the hashconsed objects.

Sourceval hcons : table -> t f

Perform the hashconsing of the given object within the table, and returns the hash.

Recover statistics of the hashconsing table.