Go to the first, previous, next, last section, table of contents.


The Doubly Linked List Data Type

The doubly linked list is an efficient data structure if you need to traverse the elements on the list in two directions, and maybe insert new elements in the middle of the list. You can efficiently delete any element, and insert new elements, anywhere on the list.

A doubly linked list (dll for short) consists of a number of nodes, each containing exactly one element. Some of the functions operate directly on the elements, while some manipulate nodes. For instance, all of the functions that let you step forward and backwards in the list handle nodes. Use the function dll-element to extract the element of a node.

To use the doubly linked list provided by Elib you must put the line

(require 'dll)

in your elisp source file.


Go to the first, previous, next, last section, table of contents.