fix 0 test in Ackermann function
commit84eedda8a24710216f296120b6fb19dec1acb0b3
authorChristopher King <chris@cking.me>
dateWed 7 Aug 2019, 17:15 (7 years ago)
parentff51697
learn/hoon/hoon-tutorial/ackermann.md+2−2
@@ -10,8 +10,8 @@ In this lesson, we will write a gate that computes the [Ackermann function](http
1010
1111 ```
1212|= [m=@ n=@]
13−?~ m +(n)
14−?~ n $(m (dec m), n 1)
13+?: =(m 0) +(n)
14+?: =(n 0) $(m (dec m), n 1)
1515$(m (dec m), n $(n (dec n)))
1616```
1717