about summary refs log tree commit diff stats
path: root/tangle.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 /tangle.mu
parent0d6630f075ee80a3339451eff573d3ac748b7d60 (diff)
downloadmu-9458918f9eb88817e6b58e6e475597f8d60ecc40.tar.gz
3483
Diffstat (limited to 'tangle.mu')
-rw-r--r--tangle.mu2
1 files changed, 1 insertions, 1 deletions
diff --git a/tangle.mu b/tangle.mu
index 3a17b911..4b13c910 100644
--- a/tangle.mu
+++ b/tangle.mu
@@ -17,7 +17,7 @@ def factorial n:num -> result:num [
 
 after <base-case> [
   # if n=0 return 1
-  zero?:boolean <- equal n, 0
+  zero?:bool <- equal n, 0
   break-unless zero?
   return 1
 ]
class='alt'>
8923d6f6 ^


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16