diff options
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/r')
-rw-r--r-- | new-luxc/source/luxc/lang/translation/r/eval.jvm.lux | 18 | ||||
-rw-r--r-- | new-luxc/source/luxc/lang/translation/r/procedure/common.jvm.lux | 2 |
2 files changed, 10 insertions, 10 deletions
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)) |