diff options
Diffstat (limited to 'stdlib/source/library/lux/target/ruby.lux')
-rw-r--r-- | stdlib/source/library/lux/target/ruby.lux | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/stdlib/source/library/lux/target/ruby.lux b/stdlib/source/library/lux/target/ruby.lux index 8344f1fa9..3a5ac1901 100644 --- a/stdlib/source/library/lux/target/ruby.lux +++ b/stdlib/source/library/lux/target/ruby.lux @@ -220,15 +220,6 @@ (format (:representation func)) :abstraction)) - (def: .public (apply_lambda/* args lambda) - (-> (List Expression) Expression Computation) - (|> args - (list#each (|>> :representation)) - (text.interposed ..input_separator) - (text.enclosed ["[" "]"]) - (format (:representation lambda)) - :abstraction)) - (def: .public (the field object) (-> Text Expression Access) (:abstraction (format (:representation object) "." field))) @@ -425,6 +416,10 @@ (-> Text (List Expression) Expression Computation) (|> object (..the method) (..apply/* args))) +(def: .public (apply_lambda/* args lambda) + (-> (List Expression) Expression Computation) + (..do "call" args lambda)) + (def: .public (cond clauses else!) (-> (List [Expression Statement]) Statement Statement) (list#mix (.function (_ [test then!] next!) |