Tree datastructures: Difference between revisions

m
→‎{{header|Phix}}: separated ouput
m (julia example)
m (→‎{{header|Phix}}: separated ouput)
Line 588:
golfing
discourages
comparison""",
 
sequence indent = text_to_indent(text),
nested = indent_to_nested(indent)[1],
sequence r2i n2ichk = nested_to_indent(nested)
 
puts(1,"Indent form:\n")
Line 596 ⟶ 598:
puts(1,"\nNested form:\n")
pp(nested,{pp_Nest,8})
printf(1,"\nNested to indent:%s\n",{iff(r2in2ichk==indent?"same":"***ERROR***")})</lang>
sequence r2i = nested_to_indent(nested)
printf(1,"\nNested to indent:%s\n",{iff(r2i==indent?"same":"***ERROR***")})</lang>
{{out}}
<pre>
7,796

edits