trav{                      ⍝ Generic depth-first tree traversal.
    ⊃∇⍨/⌽(⊂⍺ ⍺⍺ ⍵),⍺ ⍵⍵ ⍵   ⍝ visits parent before children.
}
code_colours

test script

Back to: notes

Back to: Workspaces