Qurak

TreeRules

Available

Gives the nested-rule representation of a tree (leaf -> data; inner node -> data -> child rules)

TreeRules[tree]
TreeRules[Tree[a, {}]] → aTreeRules[Tree[a, <||>]] → a

Topics

Related

All 6300 functions · Use this from an MCP client