diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-10-08 10:52:58 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-10-08 10:53:06 -0700 |
commit | 9458918f9eb88817e6b58e6e475597f8d60ecc40 (patch) | |
tree | e24a56839615ea24524022047bfe65ba9f346928 /factorial.mu | |
parent | 0d6630f075ee80a3339451eff573d3ac748b7d60 (diff) | |
download | mu-9458918f9eb88817e6b58e6e475597f8d60ecc40.tar.gz |
3483
Diffstat (limited to 'factorial.mu')
-rw-r--r-- | factorial.mu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/factorial.mu b/factorial.mu index eaf905c6..8a261207 100644 --- a/factorial.mu +++ b/factorial.mu @@ -12,7 +12,7 @@ def factorial n:num -> result:num [ load-ingredients { # if n=0 return 1 - zero?:boolean <- equal n, 0 + zero?:bool <- equal n, 0 break-unless zero? return 1 } |