queue
- Description
- Queue data structure
- Latest
- queue-0.2.0.20210306.173709.tar (.sig), 2024-Mar-31, 10.0 KiB
- Maintainer
- Toby Cubitt <toby-predictive@dr-qubit.org>
- Atom feed
- queue.xml
- Website
- http://www.dr-qubit.org/emacs.php
- Browse ELPA's repository
- CGit or Gitweb
- Badge
To install this package from Emacs, use package-install
or list-packages
.
Full description
These queues can be used both as a first-in last-out (FILO) and as a first-in first-out (FIFO) stack, i.e. elements can be added to the front or back of the queue, and can be removed from the front. (This type of data structure is sometimes called an "output-restricted deque".) You create a queue using `make-queue', add an element to the end of the queue using `queue-enqueue', and push an element onto the front of the queue using `queue-prepend'. To remove the first element from a queue, use `queue-dequeue'. A number of other queue convenience functions are also provided, all starting with the prefix `queue-'. Functions with prefix `queue--' are for internal use only, and should never be used outside this package.
Old versions
queue-0.2.0.20210306.223709.tar.lz | 2021-Mar-07 | 2.15 KiB |
queue-0.2.0.20170803.222432.tar.lz | 2020-Dec-14 | 2.13 KiB |