about summary refs log tree commit diff stats
path: root/continuation5.mu
diff options
context:
space:
mode:
Diffstat (limited to 'continuation5.mu')
-rw-r--r--continuation5.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/continuation5.mu b/continuation5.mu
index 4ae05614..295cb9c9 100644
--- a/continuation5.mu
+++ b/continuation5.mu
@@ -16,7 +16,7 @@
 
 def main [
   local-scope
-  l:&:list:num <- copy 0
+  l:&:list:num <- copy null
   l <- push 3, l
   l <- push 2, l
   l <- push 1, l
@@ -36,7 +36,7 @@ def create-yielder l:&:list:num -> n:num, done?:bool [
   load-inputs
   a:num <- copy 0
   {
-    done? <- equal l, 0
+    done? <- equal l, null
     break-if done?
     n <- first l
     l <- rest l