package rocq-runtime
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=051f7bf702ff0a3b370449728921e5a95e18bc2b31b8eb949d48422888c98af4
doc/rocq-runtime.pretyping/Unification/Metamap/index.html
Module Unification.Metamap
include CSig.MapS with type key = Constr.metavariable
include Util.Map.UExtS
with type key := key
and type 'a t := 'a t
and module Set := Metaset
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.
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 : Util.Map.MonadS) : sig ... endAlias for fold, to easily track where we depend on fold order.
Combination of fold_left and map