From 36303d6cb2ce3ab9e36d045b9516c997bd461862 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Tue, 24 Aug 2021 05:23:45 -0400 Subject: Outsourced the syntax for labelled type definitions to macros. --- lux-ruby/source/program.lux | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lux-ruby') 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 (.tuple (<>.some .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) -- cgit v1.2.3