m91←{           ⍝ McCarthy's M91 function.
    ⍵>100:⍵-10  ⍝ high number: M(n) → n-10
    ∇ ∇ ⍵+11    ⍝ low number:  M(n) → M(M(n+11))
}

code_colours

test script

Back to: notes

Back to: Workspaces