about summary refs log tree commit diff stats
path: root/063list.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-07-13 20:33:39 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-07-13 20:33:39 -0700
commitdfd2ed38f24b82da102d7fd899fa58bb0a791023 (patch)
tree37f72197f8239e6bb79ad2fed9ae3e606b875fd9 /063list.mu
parenta2d8c7132258efeb6da2716267786a931f95b47b (diff)
downloadmu-dfd2ed38f24b82da102d7fd899fa58bb0a791023.tar.gz
1773 - update all mu recipes to new-default-space
Turns out to not affect memory utilization or run-time. At all.
But still looks nicer and requires less fudging on our part.
Diffstat (limited to '063list.mu')
-rw-r--r--063list.mu6
1 files changed, 3 insertions, 3 deletions
diff --git a/063list.mu b/063list.mu
index 22343b93..b9bc9c53 100644
--- a/063list.mu
+++ b/063list.mu
@@ -10,7 +10,7 @@ container list [
 
 # result:address:list <- push x:location, in:address:list
 recipe push [
-  default-space:address:array:location <- new location:type, 30:literal
+  new-default-space
   x:location <- next-ingredient
   in:address:list <- next-ingredient
   result:address:list <- new list:type
@@ -23,7 +23,7 @@ recipe push [
 
 # result:location <- first in:address:list
 recipe first [
-  default-space:address:array:location <- new location:type, 30:literal
+  new-default-space
   in:address:list <- next-ingredient
   result:location <- get in:address:list/deref, value:offset
   reply result:location
@@ -31,7 +31,7 @@ recipe first [
 
 # result:address:list <- rest in:address:list
 recipe rest [
-  default-space:address:array:location <- new location:type, 30:literal
+  new-default-space
   in:address:list <- next-ingredient
   result:address:list <- get in:address:list/deref, next:offset
   reply result:address:list