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:19, 6 September 2021
, 2 years ago→Why display an outline as a table ?
Line 25:
(The current Perl6 color scheme rather helpfully shows that I failed to make this at all obvious or clear :-) Thank you ! [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 04:36, 24 October 2019 (UTC)
===When an outline is more a forest than a tree===
The test sample here is an outline with only one top level root node – we can think of it as representing a single tree.
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.
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. [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 15:19, 6 September 2021 (UTC)
|