(************************************************************************) (* * The Rocq Prover / The Rocq Development Team *) (* v * Copyright INRIA, CNRS and contributors *) (* <O___,, * (see version control and CREDITS file for authors & dates) *) (* \VV/ **************************************************************) (* // * This file is distributed under the terms of the *) (* * GNU Lesser General Public License Version 2.1 *) (* * (see LICENSE file for the text of the license) *) (************************************************************************)
Ifakeyisgarbagecollected,thecorrespondingvalueisgarbage collectedtoo(unlessextrareferencestoitexist). Inshortnomemorymanagementhassle,keyscanjustreplacetheir
corresponding value in the data structure. *)
type'a key
val create : 'a -> 'a key
exception InvalidKey
val get : 'a key -> 'a (** May raise InvalidKey *)
val default : 'a key -> 'a -> 'a (** Never fails. *)
val clean : unit -> unit
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet am 2026-09-28)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.