diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-02-12 23:51:44 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-02-12 23:51:44 -0800 |
commit | fff471663f73acba002ecded18c77e7902d39931 (patch) | |
tree | 6243d431377e7e82df03abc75cc0f93538b4285f | |
parent | 8aa4b664331fff5d71f74cf6de77247f785135a2 (diff) | |
download | mu-fff471663f73acba002ecded18c77e7902d39931.tar.gz |
2650
-rw-r--r-- | Readme.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Readme.md b/Readme.md index 0559b80c..35bacbaa 100644 --- a/Readme.md +++ b/Readme.md @@ -316,19 +316,19 @@ inserting code at them. local-scope n:number <- next-ingredient { - +base-case: + <base-case> } - +recursive-case: + <recursive-case> ] - after +base-case [ + after <base-case> [ # if n=0 return 1 zero?:boolean <- equal n, 0 break-unless zero? reply 1 ] - after +recursive-case [ + after <recursive-case> [ # return n * factorial(n-1) x:number <- subtract n, 1 subresult:number <- factorial x |