about summary refs log tree commit diff stats
path: root/063array.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-09-17 10:28:25 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-09-17 10:28:25 -0700
commit7a84094adbf7570e0b9716d8f469458b901efec8 (patch)
tree64e63794f8ea429ce863541634e67449237bcbb6 /063array.mu
parente24799ead45d9d4a86d8e8ab051dd16e1e417431 (diff)
downloadmu-7a84094adbf7570e0b9716d8f469458b901efec8.tar.gz
3385
Diffstat (limited to '063array.mu')
-rw-r--r--063array.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/063array.mu b/063array.mu
index 0d32ecc9..6410924d 100644
--- a/063array.mu
+++ b/063array.mu
@@ -15,7 +15,7 @@ scenario array-from-args [
 # create an array out of a list of scalar args
 def new-array -> result:text [
   local-scope
-  capacity:number <- copy 0
+  capacity:num <- copy 0
   {
     # while read curr-value
     curr-value:char, exists?:boolean <- next-ingredient
@@ -25,7 +25,7 @@ def new-array -> result:text [
   }
   result <- new character:type, capacity
   rewind-ingredients
-  i:number <- copy 0
+  i:num <- copy 0
   {
     # while read curr-value
     done?:boolean <- greater-or-equal i, capacity