- Adds utility routine,
proc step(node: var DoublyLinkedNode; n = 1)that helps with manipulating multiple cursors from a single deque.
-
removenow remove the first node it finds that matches the given value.removeNoderemoves the provided node. -
Adds
head,tail,headNode,tailNode,find,contains,extend, andextendLeft. -
Raises
ValueErrorwhen popping empty deque.
- Implements most methods specified in the Python version of
dequewith the exception ofextendandextendLeft