package rocq-runtime

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

Module CSet.HashconsSource

Create hash-consing for sets. The hashing function provided must be compatible with the comparison function.

Parameters

module M : OrderedType
module _ : Hashcons.HashedType with type t = M.t

Signature

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 Hashcons.f

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

Recover statistics of the hashconsing table.