ascana{⎕ML←1                   ⍝ Higher rank asscociative scan.
    ⍺←⍬⍴⌽⍳⍴⍴⍵                   ⍝ default last axis.
    ↑[⍺-0.1](⍺⍺ ascan)¨↓[⍺]⍵
}

code_colours

test script

Back to: notes

Back to: Workspaces