package coq-core
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=5d1187d5e44ed0163f76fb12dabf012e
sha512=91bc81530fa4f6498961583ad51eac5001f139881788b88e360a866ad8e2a6e2c5bce86d1a580ab4cd4782bf49d48318767df82471ce33ba3ac143e5569ad33c
doc/coq-core.kernel/Univ/Level/Map/index.html
Module Level.MapSource
include CMap.ExtS with type key = t and module Set := Set
The underlying Map library
Apply the given function to the binding of the given key.
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 -> 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.
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 ... endmodule Monad (M : CMap.MonadS) : sig ... endFold operators parameterized by any monad.
diff x y removes bindings from x that appear in y (whatever the value).