Module Meta.Key

Key (V) is a new key with values of type 'a V.t.

Parameters

module V : VALUE

Signature

val mem : ('a, 'b) t2 -> bool

mem m is true iff m has a binding for the key.

val add : ('a, 'b) V.t -> ('a, 'b) t2 -> ('a, 'b) t2

add v m is m with the key bound to v

val find : ('a, 'b) t2 -> ('a, 'b) V.t option

find m is the binding for the key (if any).

val remove : ('a, 'b) t2 -> ('a, 'b) t2

remove m is m with the binding for the key removed (if bound).