Doubly-linked list/Element definition: Difference between revisions

no 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}}==
1,111

edits