package b0
Software construction and deployment kit
Install
Dune Dependency
Authors
Maintainers
Sources
b0-0.0.4.tbz
sha512=665735c8b7a8674201be765bdd676a18d1e38eff35de9d44c3dc15e2bfed2247e8963c9a32ae62d9ca2d6cd1edebd849aac29fdd5a846c14a30feea3edfc0601
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