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.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/lux/concurrency/stm.lux b/stdlib/source/lux/concurrency/stm.lux
index 27dca629c..7886dda36 100644
--- a/stdlib/source/lux/concurrency/stm.lux
+++ b/stdlib/source/lux/concurrency/stm.lux
@@ -1,7 +1,7 @@
(;module:
lux
- (lux (control functor
- applicative
+ (lux (control ["F" functor]
+ ["A" applicative]
["M" monad #+ do Monad])
[io #- run]
(data (coll [list "L/" Functor<List> Fold<List>]
@@ -156,13 +156,13 @@
target)]
(wrap head))))
-(struct: #export _ (Functor STM)
+(struct: #export _ (F;Functor STM)
(def: (map f fa)
(function [tx]
(let [[tx' a] (fa tx)]
[tx' (f a)]))))
-(struct: #export _ (Applicative STM)
+(struct: #export _ (A;Applicative STM)
(def: functor Functor<STM>)
(def: (wrap a)