package lambda-term
Terminal manipulation library for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
3.3.2.tar.gz
sha512=78648768644058337e22c79cf1fbb1a36472b24f11b1dc0461fc38419be6ec01b02d8d0ac45fed0bc99f91ba4c0f19d3bda113e834e064bee973b734527b9766
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