Doubly-linked list/Definition: Difference between revisions
Content added Content deleted
m (→{{header|Wren}}: Minor tidy) |
|||
Line 4,704: | Line 4,704: | ||
{{libheader|Wren-llist}} |
{{libheader|Wren-llist}} |
||
The DLinkedList class in the above module is a generic doubly-linked list and is implemented in such a way that circular loops are not possible. We therefore use it here. |
The DLinkedList class in the above module is a generic doubly-linked list and is implemented in such a way that circular loops are not possible. We therefore use it here. |
||
<syntaxhighlight lang=" |
<syntaxhighlight lang="wren">import "./llist" for DLinkedList |
||
var dll = DLinkedList.new() |
var dll = DLinkedList.new() |