aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/host.old.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/host.old.lux')
-rw-r--r--stdlib/source/lux/host.old.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/lux/host.old.lux b/stdlib/source/lux/host.old.lux
index 2b62b01b0..906ccf639 100644
--- a/stdlib/source/lux/host.old.lux
+++ b/stdlib/source/lux/host.old.lux
@@ -1540,7 +1540,7 @@
(case member
(^or (#ConstructorDecl [commons _]) (#MethodDecl [commons _]))
(let [(^slots [#import-member-tvars #import-member-args]) commons]
- (do macro.monad
+ (do {@ macro.monad}
[arg-inputs (monad.map @
(: (-> [Bit GenericType] (Meta [Bit Code]))
(function (_ [maybe? _])
@@ -1646,7 +1646,7 @@
(list@map type-param->type-arg))]
(case member
(#EnumDecl enum-members)
- (do macro.monad
+ (do {@ macro.monad}
[#let [enum-type (: Code
(case class-tvars
#.Nil
@@ -1679,7 +1679,7 @@
(#MethodDecl [commons method])
(with-gensyms [g!obj]
- (do @
+ (do macro.monad
[#let [def-name (code.identifier ["" (format method-prefix member-separator (get@ #import-member-alias commons))])
(^slots [#import-member-kind]) commons
(^slots [#import-method-name]) method
@@ -1850,7 +1850,7 @@
(java/util/List::size [] my-list)
Character$UnicodeScript::LATIN
)}
- (do macro.monad
+ (do {@ macro.monad}
[kind (class-kind class-decl)
=members (monad.map @ (member-import$ (product.right class-decl) long-name? kind class-decl) members)]
(wrap (list& (class-import$ long-name? class-decl) (list@join =members)))))