From 371a407a49ddf0f2fe1d977018fcd0a009c86043 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Tue, 3 Jul 2018 20:35:42 -0400 Subject: - Re-named "import" to "import:". --- new-luxc/source/luxc/lang/translation/r/eval.jvm.lux | 18 +++++++++--------- .../luxc/lang/translation/r/procedure/common.jvm.lux | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'new-luxc/source/luxc/lang/translation/r') diff --git a/new-luxc/source/luxc/lang/translation/r/eval.jvm.lux b/new-luxc/source/luxc/lang/translation/r/eval.jvm.lux index eb20d73c5..0bfd50aa8 100644 --- a/new-luxc/source/luxc/lang/translation/r/eval.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/r/eval.jvm.lux @@ -21,33 +21,33 @@ [Cannot-Evaluate] ) -(host.import java/lang/Object +(host.import: java/lang/Object (toString [] String) (getClass [] (Class Object))) -(host.import java/lang/Long +(host.import: java/lang/Long (intValue [] Integer)) -(host.import org/renjin/sexp/SEXP) +(host.import: org/renjin/sexp/SEXP) -(host.import org/renjin/sexp/StringArrayVector +(host.import: org/renjin/sexp/StringArrayVector (getElementAsString [int] String)) -(host.import org/renjin/sexp/LogicalArrayVector +(host.import: org/renjin/sexp/LogicalArrayVector (getElementAsRawLogical [int] int)) -(host.import org/renjin/sexp/IntArrayVector +(host.import: org/renjin/sexp/IntArrayVector (getElementAsInt [int] int)) -(host.import org/renjin/sexp/DoubleArrayVector +(host.import: org/renjin/sexp/DoubleArrayVector (getElementAsDouble [int] double)) -(host.import org/renjin/sexp/ListVector +(host.import: org/renjin/sexp/ListVector (length [] int) (getElementAsSEXP [int] #try SEXP) (getElementAsSEXP #as get-field-sexp [String] #try SEXP)) -(host.import org/renjin/sexp/Null) +(host.import: org/renjin/sexp/Null) (def: (parse-tuple lux-object host-object) (-> (-> Object (Error Any)) ListVector (Error Any)) diff --git a/new-luxc/source/luxc/lang/translation/r/procedure/common.jvm.lux b/new-luxc/source/luxc/lang/translation/r/procedure/common.jvm.lux index 03cc802fc..885837078 100644 --- a/new-luxc/source/luxc/lang/translation/r/procedure/common.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/r/procedure/common.jvm.lux @@ -209,7 +209,7 @@ ))) ## [[Numbers]] -(host.import java/lang/Double +(host.import: java/lang/Double (#static MIN_VALUE Double) (#static MAX_VALUE Double)) -- cgit v1.2.3