package batteries
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A community-maintained standard library extension
Install
dune-project
Dependency
Authors
Maintainers
Sources
v3.5.0.tar.gz
md5=e4b70d1a716f0aaba36f419f618d0a2e
sha512=a31f1f8cf2c7c3c6c757f3bfae98ff61bb32bab6a1f1e215937df42bcfa447aad41a37edb28d7bcecb88b3838ed8bd57142bcf8e2d28e09bb538055fd8a3b72d
doc/batteries.unthreaded/BatHashtbl/Labels/index.html
Module BatHashtbl.Labels
Operations on Hashtbl with labels.
This module overrides a number of functions of Hashtbl by functions in which some arguments require labels. These labels are there to improve readability and safety and to let you change the order of arguments to functions. In every case, the behavior of the function is identical to that of the corresponding function of Hashtbl.
@documents Hashtbl.Labels
val add : ('a, 'b) t -> key:'a -> data:'b -> unitval replace : ('a, 'b) t -> key:'a -> data:'b -> unitval iter : f:(key:'a -> data:'b -> unit) -> ('a, 'b) t -> unitval for_all : f:(key:'a -> data:'b -> bool) -> ('a, 'b) t -> boolval map_inplace : f:(key:'a -> data:'b -> 'b) -> ('a, 'b) t -> unitval filter_inplace : f:('a -> bool) -> ('key, 'a) t -> unitval filteri_inplace : f:(key:'key -> data:'a -> bool) -> ('key, 'a) t -> unitval filter_map_inplace :
f:(key:'key -> data:'a -> 'a option) ->
('key, 'a) t ->
unitval fold : f:(key:'a -> data:'b -> 'c -> 'c) -> ('a, 'b) t -> init:'c -> 'cval exists : f:(key:'a -> data:'b -> bool) -> ('a, 'b) t -> boolval modify : key:'a -> f:('b -> 'b) -> ('a, 'b) t -> unitval modify_def : default:'b -> key:'a -> f:('b -> 'b) -> ('a, 'b) t -> unitval modify_opt : key:'a -> f:('b option -> 'b option) -> ('a, 'b) t -> unit sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>