Jump to content

Doubly-linked list/Element insertion: Difference between revisions

→‎{{header|Perl 6}}: link to other enty
(→‎{{header|Perl 6}}: link to other enty)
Line 604:
insert($node_a, $node_c);</lang>
=={{header|Perl 6}}==
Using the generic definitions from other entries[[Doubly-linked_list/Definition#Perl_6]]:
<lang perl6>class DLElem_Str does DLElem[Str] {}
class DLList_Str does DLList[DLElem_Str] {}
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.