Talk:Display an outline as a nested table: Difference between revisions
Talk:Display an outline as a nested table (view source)
Revision as of 15:25, 6 September 2021
, 2 years ago→When an outline is more a forest than a tree
Line 31:
In practice, of course, an indented text outline will often have several top level (unindented) lines.
To put it another way, many outlines represent forests – lists of trees – rather than single trees (or can otherwise be thought of as a single tree with a hidden virtual root).
FWIW I've updated the Haskell, JavaScript and Functional Python versions here to allow for the forest case by writing out a series of (wiki) tables, one for each tree, separated by a couple of linefeeds.
|