about summary refs log tree commit diff stats
path: root/counters.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-10-30 10:00:54 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-10-30 10:00:54 -0700
commitb783094551a9d8fe3b149797102cdc71cb1942f2 (patch)
tree6f0d4becc5b5bdccd9cb56ef959b7e00bcaeda50 /counters.mu
parent1ae2ff1c8c09a4a7ac2a518b4be2008626d482df (diff)
downloadmu-b783094551a9d8fe3b149797102cdc71cb1942f2.tar.gz
2325
Diffstat (limited to 'counters.mu')
-rw-r--r--counters.mu3
1 files changed, 1 insertions, 2 deletions
diff --git a/counters.mu b/counters.mu
index 816b6790..22f5554f 100644
--- a/counters.mu
+++ b/counters.mu
@@ -10,8 +10,7 @@ recipe increment-counter outer:address:array:location/names:new-counter, x:numbe
   local-scope
   load-ingredients
   0:address:array:location/names:new-counter <- copy outer  # setup outer space; it *must* come from 'new-counter'
-  n:number/space:1 <- add n:number/space:1, x
-  reply n/space:1
+  n/space:1 <- add n/space:1, x
 ]
 
 recipe main [