package fmlib
Functional monadic library
Install
Dune Dependency
Authors
Maintainers
Sources
0.2.0.tar.gz
sha256=d47f6539af49a4c3e947dbfbe416c1e78d534897cd6d9d8e3660aae0cf8d9494
md5=d649b8a62403362bd3a24cbf1a9af590
doc/fmlib.fmlib_std/Fmlib_std/Deque/index.html
Module Fmlib_std.Deque
A double ended queue. Insert from both ends, pop only from the front.
val is_empty : _ t -> bool
is_empty q
Is the queue q
empty?
val has_some : _ t -> bool
has_some q
Does the queue have elements?
val empty : _ t
empty
The empty queue.
update_first f q
Update the first element of the queue q
with the update function f
.
update_last f q
Update the last element of the queue q
with the update function f
.
val to_list : 'a t -> 'a list
to_list q
Convert the queue q
to a list.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>