Names.Cmap_env
A map whose keys are constants (values of the Constant.t
type). Keys are ordered wrt. "user form" of the constant.
The underlying Map library
include CSig.MapS with type key = Constant.t
type key = Constant.t
val empty : 'a t
val is_empty : 'a t -> bool
val cardinal : 'a t -> int
Apply the given function to the binding of the given key.
val domain : 'a t -> Cset_env.t
Recover the set of keys defined in the map.
val bind : (key -> 'a) -> Cset_env.t -> 'a t
bind f s
transform the set x1; ...; xn
into x1 := f x1; ...;
xn := f xn
.
Alias for fold
, to easily track where we depend on fold order.
val height : 'a t -> int
An indication of the logarithmic size of a map
find_range in_range m
Given a comparison function in_range x
, that tests if x
is below, above, or inside a given range filter_range
returns the submap of m
whose keys are in range. Note that in_range
has to define a continouous range.
module Smart : sig ... end
module Monad (M : Util.Map.MonadS) : sig ... end
Fold operators parameterized by any monad.