package server-reason-react
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=3972f64a3ec22b120b40137f74e7862629b2164e5bbf8b85489d4c7b8bc13288
sha512=24a52537c091c4b278ea5e468aa6786378f8b559ed2128e824b6f84f26c283856a30e7ef01aab6101087bd53b9bdc2ecd8152c00db10bccff67221b9c67318a0
doc/server-reason-react.belt/Belt/MutableMap/String/index.html
Module MutableMap.String
val make : unit -> 'a tval clear : 'a t -> unitval isEmpty : 'a t -> boolcmp m1 m2 cmp First compare by size, if size is the same, compare by key, value pair
forEach m f applies f to all bindings in map m. f receives the key as first argument, and the associated value as second argument. The application order of f is in increasing order.
reduce m a f computes (f kN dN ... (f k1 d1 a)...), where k1 ... kN are the keys of all bindings in m (in increasing order), and d1 ... dN are the associated data.
every m p checks if all the bindings of the map satisfy the predicate p. The application order of p is unspecified.
some m p checks if at least one binding of the map satisfy the predicate p. The application order of p is unspecified.
val size : 'a t -> intval valuesToArray : 'a t -> 'a arrayval minKeyUndefined : _ t -> key Js.undefinedval maxKeyUndefined : _ t -> key Js.undefinedval minUndefined : 'a t -> (key * 'a) Js.undefinedval maxUndefined : 'a t -> (key * 'a) Js.undefinedval getUndefined : 'a t -> key -> 'a Js.undefinedval checkInvariantInternal : _ t -> unitraise when invariant is not held
set m x y do the in-place modification, return m for chaining. If x was already bound in m, its previous binding disappears.
map m f returns a map with same domain as m, where the associated value a of all bindings of m has been replaced by the result of the application of f to a. The bindings are passed to f in increasing order with respect to the ordering over the type of the keys.