package b0
Software construction and deployment kit
Install
Dune Dependency
Authors
Maintainers
Sources
b0-0.0.2.tbz
sha512=78fd9e53b84cf5d6bf497adaf4b6d7d974134044318639cdfe5e01c7faaa8d987d04769abe3b3b1cbdb937132e21d8723dc185cd3c68433a793278907a8e757e
doc/b0_b00_std/B00_std/Rqueue/index.html
Module B00_std.Rqueue
Random queue
val empty : ?rand:Stdlib.Random.State.t -> unit -> 'a t
emtpy ~rand ()
is an empty random queue using rand
as random state (defaults to Random.State.make_self_init
).
val add : 'a t -> 'a -> unit
add q v
adds v
to the queue.
val take : 'a t -> 'a option
take q
removes and returns a random element in q
(if any).
val length : 'a t -> int
length q
is the number of elements in q
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>