package coq-core
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=8d852367b54f095d9fbabd000304d450
sha512=46922d5f2eb6802a148a52fd3e7f0be8370c93e7bc33cee05cf4a2044290845b10ccddbaa306f29c808e7c5019700763e37e45ff6deb507b874a4348010fed50
doc/coq-core.library/Globnames/ExtRefMap/index.html
Module Globnames.ExtRefMapSource
The underlying Map library
include CSig.MapS with type key = extended_global_reference
type key = extended_global_referenceval empty : 'a tval is_empty : 'a t -> boolval cardinal : 'a t -> intApply the given function to the binding of the given key.
val domain : 'a t -> ExtRefSet.tRecover the set of keys defined in the map.
val bind : (key -> 'a) -> ExtRefSet.t -> 'a tbind 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 -> intAn 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.
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 ... endmodule Monad (M : CMap.MonadS) : sig ... endFold operators parameterized by any monad.