aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/concurrency/actor.lux
diff options
context:
space:
mode:
authorEduardo Julian2017-11-27 02:09:04 -0400
committerEduardo Julian2017-11-27 02:09:04 -0400
commitd6a7a133c5c4a734ab45e9497c8e5df749ce383a (patch)
tree040b4df12dd3482fc0bb76f8e0a37126ef34fb34 /stdlib/source/lux/concurrency/actor.lux
parent6031fc715b4a16b008d6f288c38739d9bb066490 (diff)
- Changed the prefixes of numeric functions.
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/concurrency/actor.lux10
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/lux/concurrency/actor.lux b/stdlib/source/lux/concurrency/actor.lux
index dbe11b3a0..18bdaa61d 100644
--- a/stdlib/source/lux/concurrency/actor.lux
+++ b/stdlib/source/lux/concurrency/actor.lux
@@ -300,7 +300,7 @@
(message: #export Counter
(count! [increment Nat] state self Nat)
- (let [state' (n.+ increment state)]
+ (let [state' (n/+ increment state)]
(T;return [state' state'])))
(message: #export (Stack a)
@@ -322,12 +322,12 @@
g!actor-refs (: (List Code)
(if (list;empty? actor-vars)
(list)
- (|> actor-vars list;size n.dec
- (list;n.range +0) (list/map (|>. code;nat (~) ($) (`))))))
+ (|> actor-vars list;size n/dec
+ (list;n/range +0) (list/map (|>. code;nat (~) ($) (`))))))
ref-replacements (|> (if (list;empty? actor-vars)
(list)
- (|> actor-vars list;size n.dec
- (list;n.range +0) (list/map (|>. code;nat (~) ($) (`)))))
+ (|> actor-vars list;size n/dec
+ (list;n/range +0) (list/map (|>. code;nat (~) ($) (`)))))
(: (List Code))
(list;zip2 g!all-vars)
(: (List [Code Code])))