package lwt-dllist
Mutable doubly-linked list with Lwt iterators
Install
Dune Dependency
Authors
Maintainers
Sources
lwt-dllist-1.1.0.tbz
sha256=b0200651e37eaa24f027177bc01e266db43da48aa18146973d1d18336c325d69
sha512=0a34795203d1d6601285b631ac5016beece436ffe49eb2896fdf730913b66b0dc6192fdad6bd3d5cc3ad22a19627a9d6198189597ecd520af44b0b3db5e81f00
Description
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.
Published: 30 Apr 2025
README
lwt-dllist - Mutable doubly-linked list
An Lwt_dllist
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 traversed.
History
This module was formerly part of the Lwt core distribution as the Lwt_sequence
module, but has been pulled out into a separate library since it is really just an implementation detail of Lwt.
You can migrate existing uses of Lwt_sequence
into Lwt_dllist
by simply renaming the module. The implementation of the module remains unchanged, but the name reflects the fact that the implementation is a doubly-linked list.
Further Reading
- Docs: https://mirage.github.io/lwt-dllist
- Issues: https://github.com/mirage/lwt-dllist/issues
- Discussion: https://discuss.ocaml.org with the MirageOS tag.
Dev Dependencies (1)
-
lwt
with-test
Used by (15)
-
caqti
>= "2.0.1"
- current
- eio
- irmin-client
- mirage-net-xen
-
mirage-solo5
= "0.6.0"
- mirage-xen
-
netchannel
>= "2.1.0"
- ocluster
-
shared-memory-ring-lwt
>= "3.1.0"
-
tcpip
>= "3.7.0"
-
vmnet
>= "1.5.0"
-
xen-evtchn
>= "2.1.0"
-
xen-evtchn-unix
>= "2.1.0"
-
xen-gnt
>= "3.1.0"
Conflicts
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page