package b0
Software construction and deployment kit
Install
Dune Dependency
Authors
Maintainers
Sources
b0-0.0.3.tbz
sha512=d24b09eb520b8b91a1e5715badc9f5bcd6a6ec49c047f719a07afef6b835c128dc63e00c3be73d5353b037f4c3c9f2889e40666b30e297e872e4d011f098394c
doc/b0_b00_std/B00_std/Fpath/Map/index.html
Module Fpath.Map
Path maps.
Path maps
type key = path
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 Stdlib_set.S with type elt = 'a and type t = 'set) ->
path ->
'a ->
'set t ->
'set t
add (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
pp ~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.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page