package coq-core

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

Module Store.MakeSource

Create a new store type.

Parameters

Signature

Sourcetype t

Type of stores

Sourcetype 'a field

Type of field of such stores

Sourceval field : string -> 'a field

Create a new field. See also Dyn.create.

Sourceval empty : t

Empty store

Sourceval set : t -> 'a field -> 'a -> t

Set a field

Sourceval get : t -> 'a field -> 'a option

Get the value of a field, if any

Sourceval remove : t -> 'a field -> t

Unset the value of the field

Sourceval merge : t -> t -> t

merge s1 s2 adds all the fields of s1 into s2.

OCaml

Innovation. Community. Security.