about summary refs log tree commit diff stats
path: root/counters.mu
diff options
context:
space:
mode:
Diffstat (limited to 'counters.mu')
-rw-r--r--counters.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/counters.mu b/counters.mu
index 713c8fa8..2d57943d 100644
--- a/counters.mu
+++ b/counters.mu
@@ -8,7 +8,7 @@ recipe new-counter [
 ]
 
 recipe increment-counter [
-  new-default-space
+  local-scope
   0:address:array:location/names:new-counter <- next-ingredient  # setup outer space; it *must* come from 'new-counter'
   x:number <- next-ingredient
   n:number/space:1 <- add n:number/space:1, x:number
@@ -16,7 +16,7 @@ recipe increment-counter [
 ]
 
 recipe main [
-  new-default-space
+  local-scope
   # counter A
   a:address:array:location <- new-counter 34:literal
   # counter B