on master help sign in
Merge pull request #607 from cxk280/master

fix 0 test in Ackermann function

commit97901d94fcb084cae63711c1298d20059afef497 authorDavid Kerschner <david@tlon.io> dateWed 7 Aug 2019, 14:29 (7 years ago) parentfb1877084eedda
1 file changed+2−2
learn/hoon/hoon-tutorial/ackermann.md+2−2
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