diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-10-30 10:00:54 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-10-30 10:00:54 -0700 |
commit | b783094551a9d8fe3b149797102cdc71cb1942f2 (patch) | |
tree | 6f0d4becc5b5bdccd9cb56ef959b7e00bcaeda50 | |
parent | 1ae2ff1c8c09a4a7ac2a518b4be2008626d482df (diff) | |
download | mu-b783094551a9d8fe3b149797102cdc71cb1942f2.tar.gz |
2325
-rw-r--r-- | counters.mu | 3 |
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 [ |