package b0
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Software construction and deployment kit
Install
dune-project
Dependency
Authors
Maintainers
Sources
b0-0.0.5.tbz
sha512=00a6868b4dfa34565d0141b335622a81a0e8d5b9e3c6dfad025dabfa3df2db2a1302b492953bbbce30c3a4406c324fcec25250a00b38f6d18a69e15605e3b07e
doc/b0_b00_kit/B00_ocaml/Mod/Ref/Map/index.html
Module Ref.Map
Module reference maps.
of_list bs is List.fold_left (fun m (k, v) -> add k v m) empty bs.
Additional adds
add k v m is m with k mapping to l such that l is v :: find k m if k was bound in m and [v] otherwise.
val add_to_set :
(module B0_std.Stdlib_set.S with type elt = 'a and type t = 'set) ->
key ->
'a ->
'set t ->
'set tadd (module S) k v m is m with k mapping to s such that s is S.add v (find k m) if k was bound in m and S.singleton [v] otherwise.
Formatting
val pp : ?sep:unit B0_std.Fmt.t -> (key * 'a) B0_std.Fmt.t -> 'a t B0_std.Fmt.tpp ~sep pp_binding ppf m formats the bindings of m on ppf. Each binding is formatted with pp_binding and bindings are separated by sep (defaults to Format.pp_print_cut). If the map is empty leaves ppf untouched.
val dump : 'a B0_std.Fmt.t -> 'a t B0_std.Fmt.tdump pp_v ppf m prints an unspecified representation of m on ppf using pp_v to print the map codomain elements.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page