diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/control/concurrency/actor.lux | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/stdlib/source/lux/control/concurrency/actor.lux b/stdlib/source/lux/control/concurrency/actor.lux index 6487801df..87bfabd4d 100644 --- a/stdlib/source/lux/control/concurrency/actor.lux +++ b/stdlib/source/lux/control/concurrency/actor.lux @@ -11,6 +11,8 @@ ["s" code (#+ Parser)]]] [data ["." product] + [number + ["n" nat]] [text ["%" format (#+ format)]] [collection @@ -327,7 +329,7 @@ (message: #export Counter (count! [increment Nat] state self Nat) - (let [state' (n/+ increment state)] + (let [state' (n.+ increment state)] (promise.resolved (#try.Success [state' state'])))) (message: #export (Stack a) |