fibonacci←{     ⍝ Tail-recursive Fibonacci.
    ⍺←0 1
    ⍵=0:⍬⍴⍺
    (1↓⍺,+/⍺)∇ ⍵-1
}
code_colours

test script

Back to: notes

Back to: Workspaces