package coq-core
Install
Dune Dependency
Authors
Maintainers
Sources
md5=0cfaa70f569be9494d24c829e6555d46
sha512=8ee967c636b67b22a4f34115871d8f9b9114df309afc9ddf5f61275251088c6e21f6cf745811df75554d30f4cebb6682f23eeb2e88b771330c4b60ce3f6bf5e2
doc/coq-core.kernel/Names/Indmap_env/index.html
Module Names.Indmap_env
include CMap.UExtS
with type key := key
and type 'a t := 'a t
and module Set := Indset_env
The underlying Map library
Apply the given function to the binding of the given key.
val domain : 'a t -> Indset_env.t
Recover the set of keys defined in the map.
val bind : (key -> 'a) -> Indset_env.t -> 'a t
bind f s
transform the set x1; ...; xn
into x1 := f x1; ...; xn := f xn
.
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.
Like map
but keeping only bindings mapped to Some
symmetric_diff f ml mr acc
will efficiently fold over the difference between ml
and mr
, assumed that they share most of their internal structure. A call to f k vl vr
means that if vl
is Some
, then k
exists in ml
. Similarly, if vr
is Some
, then k
exists in mr
. If both vl
and vr
are Some
, then vl != vr
.
module Smart : sig ... end
module Monad (M : CMap.MonadS) : sig ... end
Alias for fold
, to easily track where we depend on fold order.