package coq-core
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha512=2f77bcb5211018b5d46320fd39fd34450eeb654aca44551b28bb50a2364398c4b34587630b6558db867ecfb63b246fd3e29dc2375f99967ff62bc002db9c3250
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.