aboutsummaryrefslogtreecommitdiff
path: root/lux-ruby/source
diff options
context:
space:
mode:
Diffstat (limited to 'lux-ruby/source')
-rw-r--r--lux-ruby/source/program.lux12
1 files changed, 6 insertions, 6 deletions
diff --git a/lux-ruby/source/program.lux b/lux-ruby/source/program.lux
index f66262971..50253a545 100644
--- a/lux-ruby/source/program.lux
+++ b/lux-ruby/source/program.lux
@@ -137,12 +137,12 @@
)
(syntax: (method_inputs [input_classes (<code>.tuple (<>.some <code>.any))])
- (monad.map meta.monad
- (function (_ class)
- (do meta.monad
- [var (macro.identifier "input")]
- (wrap (code.record (list [var class])))))
- input_classes))
+ (monad.each meta.monad
+ (function (_ class)
+ (do meta.monad
+ [var (macro.identifier "input")]
+ (wrap (code.record (list [var class])))))
+ input_classes))
(import: org/jruby/runtime/JavaSites$CheckedSites)
(import: org/jruby/runtime/builtin/Variable)