ltrav{                     ⍝ List traversal.
    '∘'≡head tail←⍵:⍺       ⍝ head and tail of list, else accumulator
    (⍺ ⍺⍺ head)tail       ⍝ accumulated result with tail.
}

code_colours

test script

Back to: notes

Back to: Workspaces