factorial←{     ⍝ Tail recursive factorial.
    ⍺←1
    ⍵=0:⍺
    (⍺×⍵)∇ ⍵-1
}

code_colours

test script

Back to: notes

Back to: Workspaces