package coq

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

Module Hashset.MakeSource

Parameters

module E : EqType

Signature

Sourcetype elt = E.t

Type of hashsets elements.

Sourcetype t

Type of hashsets.

Sourceval create : int -> t

create n creates a fresh hashset with initial size n.

Sourceval clear : t -> unit

Clear the contents of a hashset.

Sourceval repr : int -> elt -> t -> elt

repr key constr set uses key to look for constr in the hashet set. If constr is in set, returns the specific representation that is stored in set. Otherwise, constr is stored in set and will be used as the canonical representation of this value in the future.

Sourceval stats : t -> statistics

Recover statistics on the table.

OCaml

Innovation. Community. Security.