Doubly-linked list/Element definition: Difference between revisions
Doubly-linked list/Element definition (view source)
Revision as of 13:45, 21 June 2021
, 2 years agono edit summary
m (→{{header|Phix}}: added syntax colouring the hard way) |
No edit summary |
||
Line 466:
see [[Doubly-linked_list/Definition#Lua]], essentially:
<lang lua>local node = { data=data, prev=nil, next=nil }</lang>
=={{header|Mathematica}} / {{header|Wolfram Language}}==
Mathematica and the Wolfram Language have no lower-level way of handling pointers. It does have a built-in highly efficient and compilable doubly-linked list data structure:
<lang Mathematica>CreateDataStructure["DoublyLinkedList"]</lang>
=={{header|Modula-2}}==
|