diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-06-25 13:05:27 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-06-25 13:05:27 -0700 |
commit | c1d92c9d066da0afeaa4fefb427b7f948eef1c11 (patch) | |
tree | 572b58e4242bbee0a2f1434bce5d018dc6a94f05 | |
parent | 44f9a160a5d1f26b542d4060e09ddc91f1be365c (diff) | |
download | mu-c1d92c9d066da0afeaa4fefb427b7f948eef1c11.tar.gz |
1663
-rw-r--r-- | factorial.mu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/factorial.mu b/factorial.mu index bdead927..d38ede06 100644 --- a/factorial.mu +++ b/factorial.mu @@ -16,7 +16,7 @@ recipe factorial [ break-unless zero?:boolean reply 1:literal } - # return n * factorial(n - 1) + # return n * factorial(n-1) x:number <- subtract n:number, 1:literal subresult:number <- factorial x:number result:number <- multiply subresult:number, n:number |