package lambda-term
Terminal manipulation library for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
lambda-term-2.0.2.tbz
sha256=1cab780d63024b1c39a95a425897e195b62d168e383c06372ceea2d3f3673edd
md5=4602aa4355705909e406513322b4b27e
doc/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