aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/control/concurrency/atom.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/control/concurrency/atom.lux')
-rw-r--r--stdlib/source/library/lux/control/concurrency/atom.lux10
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/library/lux/control/concurrency/atom.lux b/stdlib/source/library/lux/control/concurrency/atom.lux
index 1fe0d8262..8fd8e86bf 100644
--- a/stdlib/source/library/lux/control/concurrency/atom.lux
+++ b/stdlib/source/library/lux/control/concurrency/atom.lux
@@ -15,14 +15,14 @@
[type
[abstract {"-" pattern}]]]])
-(with_expansions [<jvm> (as_is (ffi.import: (java/util/concurrent/atomic/AtomicReference a)
+(with_expansions [<jvm> (these (ffi.import: (java/util/concurrent/atomic/AtomicReference a)
"[1]::[0]"
(new [a])
(get [] "io" a)
(compareAndSet [a a] boolean)))]
(for @.old <jvm>
@.jvm <jvm>
- (as_is)))
+ (these)))
(with_expansions [<new> (for @.js "js array new"
@.python "python array new"
@@ -30,14 +30,14 @@
@.ruby "ruby array new"
@.php "php array new"
@.scheme "scheme array new"
- (as_is))
+ (these))
<write> (for @.js "js array write"
@.python "python array write"
@.lua "lua array write"
@.ruby "ruby array write"
@.php "php array write"
@.scheme "scheme array write"
- (as_is))
+ (these))
<read> (for @.js "js array read"
@.python "python array read"
@@ -45,7 +45,7 @@
@.ruby "ruby array read"
@.php "php array read"
@.scheme "scheme array read"
- (as_is))]
+ (these))]
(abstract: .public (Atom a)
(with_expansions [<jvm> (java/util/concurrent/atomic/AtomicReference a)]
(for @.old <jvm>