aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/concurrency/stm.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/concurrency/stm.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/lux/concurrency/stm.lux b/stdlib/source/lux/concurrency/stm.lux
index e3c797b2d..7af73b68d 100644
--- a/stdlib/source/lux/concurrency/stm.lux
+++ b/stdlib/source/lux/concurrency/stm.lux
@@ -166,7 +166,7 @@
(wrap [a a'])))
(def: (can-commit? tx)
- (-> Tx Bool)
+ (-> Tx Bit)
(list.every? (function (_ [_var _original _current])
(is? _original (read!! _var)))
tx))
@@ -186,7 +186,7 @@
(atom (promise #.None)))
(def: commit-processor-flag
- (Atom Bool)
+ (Atom Bit)
(atom false))
(def: (issue-commit commit)