Doubly-linked list/Definition: Difference between revisions

Line 1,424:
 
=={{header|Julia}}==
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}
value::T
4,108

edits