aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/control/concurrency/semaphore.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/control/concurrency/semaphore.lux')
-rw-r--r--stdlib/source/lux/control/concurrency/semaphore.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/lux/control/concurrency/semaphore.lux b/stdlib/source/lux/control/concurrency/semaphore.lux
index 36ac7cd34..a405b7b3e 100644
--- a/stdlib/source/lux/control/concurrency/semaphore.lux
+++ b/stdlib/source/lux/control/concurrency/semaphore.lux
@@ -32,7 +32,7 @@
{#.doc "A tool for controlling access to resources by multiple concurrent processes."}
(def: most-positions-possible
- (.nat (:: i.interval top)))
+ (.nat (\ i.interval top)))
(def: #export (semaphore initial-open-positions)
(-> Nat Semaphore)
@@ -163,7 +163,7 @@
(do promise.monad
[_ (..signal turnstile)]
(recur (inc step)))
- (:: promise.monad wrap []))))
+ (\ promise.monad wrap []))))
(template [<phase> <update> <goal> <turnstile>]
[(def: (<phase> (^:representation barrier))