package base
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Full standard library replacement for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.17.3.tar.gz
md5=2100b0ed13fecf43be86ed45c5b2cc4d
sha512=628610caff7e124631870fa1e29661caac28bdfdb18750ee43b868037da3d65d6dd9023b4be7c4c52405679efb5e865a6632d95606a22b28a36636a6bf706ef3
doc/base/Base/Container/index.html
Module Base.ContainerSource
Continue_or_stop.t is used by the f argument to fold_until in order to indicate whether folding should continue, or stop early.
Generic definitions of container operations in terms of fold.
include Derived
Source
val fold_until :
fold:('t, 'a, 'acc) fold ->
init:'acc ->
f:('acc -> 'a -> ('acc, 'final) Continue_or_stop.t) ->
finish:('acc -> 'final) ->
't ->
'finalGeneric definitions of container operations in terms of iter and length.
The idiom for using Container.Make is to bind the resulting module and to explicitly import each of the functions that one wants:
Source
module Make0_with_creators
(T : sig ... end) :
S0_with_creators with type t := T.t and type elt := T.Elt.tSource
module Make_gen_with_creators
(T : sig ... end) :
Generic_with_creators
with type ('a, 'phantom1, 'phantom2) t := ('a, 'phantom1, 'phantom2) T.t
and type 'a elt := 'a T.elt
and type ('a, 'phantom1, 'phantom2) concat :=
('a, 'phantom1, 'phantom2) T.concat sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>