Hello all,

I'm trying to implement ackerman function, but I got no luck ... and I
cannot understand why this code doesn't work:

z←m ack n
→(m=0)/∆1
→(n=0)/∆2
z←(m-1) ack (m ack (n-1))
∆1: z←n+1 ⋄ →0
∆2: z←(m-1) ack 1

is the double recursion permitted in APL2 ?

thanks,
fausto

Reply via email to