Singly-linked list/Element definition: Difference between revisions
Singly-linked list/Element definition (view source)
Revision as of 13:15, 12 November 2020
, 3 years ago→{{header|Wren}}: Typo.
(→{{header|Wren}}: Rewrote this as the task is about element definition rather than the definition of the singly-linked list itself.) |
m (→{{header|Wren}}: Typo.) |
||
Line 1,794:
=={{header|Wren}}==
{{libheader|Wren-llist}}
The Node class in the above module is the element type for the LinkedList class which is a generic singly-linked list. The latter is implemented in such a way that the user does not need to deal
<lang ecmascript>import "/llist" for Node
|