Tree datastructures: Difference between revisions
→{{header|Phix}}
Line 559:
Nested to indent:same
</pre>
You can also strictly enforce these structures, which is obviously useful for debugging
Admittedly this is somewhat more tedious, but at the same time infinitely more flexible and powerful than a "plain old struct".
<lang Phix>type indent_struct(object o)
if sequence(o) then
|