Tree datastructures: Difference between revisions
m
→{{header|zkl}}: Fix code and comment: Perl 6 --> Raku
SqrtNegInf (talk | contribs) m (→{{header|Perl}}: Fix link: Perl 6 --> Raku) |
SqrtNegInf (talk | contribs) m (→{{header|zkl}}: Fix code and comment: Perl 6 --> Raku) |
||
Line 841:
Is this tree the same as what we started with? True
</pre>
I'm choosing to only allow one root per tree/forest so the
<lang zkl>
L("RosettaCode",
L("encourages",
Line 855:
)
);
println(
iTrees :=
println(iTrees.apply(indentToString).concat("\n"));
(iTrees.apply(indentToNest)==
{{out}}
<pre style="height:40ex">
|