Doubly-linked list/Traversal: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) (Rename Perl 6 -> Raku, alphabetize, minor clean-up) |
Thundergnat (talk | contribs) (→{{header|Raku}}: Fix up some internal links) |
||
Line 1,938: | Line 1,938: | ||
=={{header|Raku}}== |
=={{header|Raku}}== |
||
(formerly Perl 6) |
(formerly Perl 6) |
||
Since the list routines are supplied by the generic roles defined in [[Doubly-linked_list/Definition# |
Since the list routines are supplied by the generic roles defined in [[Doubly-linked_list/Definition#Raku]], it suffices to say: |
||
<lang perl6>say $dll.list; |
<lang perl6>say $dll.list; |
||
say $dll.reverse;</lang> |
say $dll.reverse;</lang> |