package coq-core
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha512=9a35311acec2a806730b94ac7dceabc88837f235c52a14c026827d9b89433bd7fa9555a9fc6829aa49edfedb24c8bbaf1411ebf463b74a50aeb17cba47745b6b
doc/coq-core.clib/HMap/Make/index.html
Module HMap.MakeSource
Hash maps are maps that take advantage of having a hash on keys. This is essentially a hash table, except that it uses purely functional maps instead of arrays.
CAVEAT: order-related functions like fold or iter do not respect the provided order anymore! It's your duty to do something sensible to prevent this if you need it. In particular, min_binding and max_binding are now made meaningless.
Parameters
module M : HashedTypeSignature
Same as add, but expects the key to be present, and thus faster.
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.
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.
Fold operators parameterized by any monad.