Talk:Tree from nesting levels: Difference between revisions
m
→Updated nested tuple data structure - see functional Python on main page for tree diagrams
Line 87:
We can obtain a self-consistent representation of these forests as lists of tuples, in which the first value is a kind of sum type (Int or None), and the second value is itself a (possibly empty) forest:
<lang python>(None, [])
[[User:Hout|Hout]] ([[User talk:Hout|talk]]) 14:00, 4 February 2021 (UTC)
|