aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/concurrency/atom.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/concurrency/atom.lux')
-rw-r--r--stdlib/source/lux/concurrency/atom.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/lux/concurrency/atom.lux b/stdlib/source/lux/concurrency/atom.lux
index 1260c758f..2837d6177 100644
--- a/stdlib/source/lux/concurrency/atom.lux
+++ b/stdlib/source/lux/concurrency/atom.lux
@@ -11,7 +11,7 @@
(All [a] (-> a (Atom a)))
("lux atom new" value))
-(def: #export (get atom)
+(def: #export (read atom)
(All [a] (-> (Atom a) (IO a)))
(io ("lux atom get" atom)))
@@ -34,6 +34,6 @@
[]
(io;run (update f atom))))))
-(def: #export (set value atom)
+(def: #export (write value atom)
(All [a] (-> a (Atom a) (IO Unit)))
(update (function;const value) atom))