about summary refs log tree commit diff stats
path: root/factorial.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-10-08 10:52:58 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-10-08 10:53:06 -0700
commit9458918f9eb88817e6b58e6e475597f8d60ecc40 (patch)
treee24a56839615ea24524022047bfe65ba9f346928 /factorial.mu
parent0d6630f075ee80a3339451eff573d3ac748b7d60 (diff)
downloadmu-9458918f9eb88817e6b58e6e475597f8d60ecc40.tar.gz
3483
Diffstat (limited to 'factorial.mu')
-rw-r--r--factorial.mu2
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
   }