Jump to content

Tree datastructures: Difference between revisions

m
m (→‎{{header|Phix}}: separated ouput)
Line 673:
function indent_to_nested(indent_struct indent, integer idx=1, level=1)
function nested_to_indent(nested_struct nested, integer level=1)
-- (the next twoalso aremake the constantoutput declarations,sequences nowbetter typed):
indent_struct indent = text_to_indent(text),
nested_struct nested = indent_to_nested(indent)[1]
indent_struct r2ir2ichk = nested_to_indent(nested)</lang>
 
=={{header|Python}}==
7,818

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.