traj{              ⍝ Function limit 'trajectory'.
    ⍺←⍬             ⍝ Initial null history.
    (⊂⍵)∊⍺:⍺        ⍝ Argument in history: finished.
    (⍺,⊂⍵)∇ ⍺⍺ ⍵    ⍝ Extended history with next argument.
}
code_colours

test script

Back to: notes

Back to: Workspaces