Doubly-linked list/Definition: Difference between revisions

Content added Content deleted
Line 1,424: Line 1,424:


=={{header|Julia}}==
=={{header|Julia}}==
Regarding the avoidance or circular loops part of this task, a call to show(DLNode) reveals that Julia considers the nodes of doubly linked lists to contain circular references to their adjacent nodes.
Regarding the avoidance or circular loops part of this task, a call to show(DLNode) reveals that Julia considers all of the nodes of doubly linked lists of this kind to contain circular references to their adjacent nodes.
<lang julia>mutable struct DLNode{T}
<lang julia>mutable struct DLNode{T}
value::T
value::T