package inquire
An OCaml library to create beautiful interactive CLIs
Install
Dune Dependency
Authors
Maintainers
Sources
inquire-0.2.1.tbz
sha256=0b88d89e24d4cbc0560a7c8d8ec51388990e1b27f24685029997afa52a7c720f
sha512=8b62860a8d15e41528a404a6f1b9968c3d79755607b5ea319af2e3e45516e672a785361d278279910928db4054e1800e87bcee0210ff3eabfb330713b368c827
doc/inquire.lambda-term/LTerm_dlist/index.html
Module LTerm_dlist
Source
Mutable sequence of elements (deprecated)
A sequence is an object holding a list of elements which support the following operations:
- adding an element to the left or the right in time and space O(1)
- taking an element from the left or the right in time and space O(1)
- removing a previously added element from a sequence in time and space O(1)
- removing an element while the sequence is being transversed.
Type of a sequence holding values of type 'a
Type of a node holding one value of type 'a
in a sequence
Operation on nodes
Removes a node from the sequence it is part of. It does nothing if the node has already been removed.
Operations on sequence
Sequence iterators
Note: it is OK to remove a node while traversing a sequence
iter_l f s
applies f
on all elements of s
starting from the left
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page