Tree datastructures: Difference between revisions
m
→{{header|Raku}}: .perl -> .raku
SqrtNegInf (talk | contribs) m (→{{header|zkl}}: Fix code and comment: Perl 6 --> Raku) |
SqrtNegInf (talk | contribs) m (→{{header|Raku}}: .perl -> .raku) |
||
Line 569:
=={{header|Raku}}==
(formerly Perl 6)
{{works with|Rakudo|
Code golf is a entertaining passtime, even if it isn't appropriate for this site. To a large extent, I agree with [[User:Hout|Hout]], I am not really on board with mocking anybody, especially espousing it as an official RosettaCode position. So, feel free to mark this incorrect.
Line 634:
$forest ~= ']' x 1 + $last;
$forest.EVAL;
}
Line 640 ⟶ 639:
my $forest = import $trees;
say "\nNative data structure:\n", $forest.
{
|