From b0093a3849baaeb5e12692b2cf6ac65ba74bbd54 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Tue, 15 Mar 2022 22:45:49 -0400 Subject: Leaner syntax for library/lux/control/exception.report --- lux-r/source/program.lux | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lux-r/source') diff --git a/lux-r/source/program.lux b/lux-r/source/program.lux index 9706cc307..da00a6f02 100644 --- a/lux-r/source/program.lux +++ b/lux-r/source/program.lux @@ -174,8 +174,8 @@ (template [] [(exception: ( [object java/lang/Object]) (exception.report - ["Class" (java/lang/Object::toString (java/lang/Object::getClass object))] - ["Object" (java/lang/Object::toString object)]))] + "Class" (java/lang/Object::toString (java/lang/Object::getClass object)) + "Object" (java/lang/Object::toString object)))] [unknown_kind_of_object] [cannot_apply_a_non_function] @@ -233,9 +233,9 @@ ... org/renjin/sexp/SEXP ... (exec ... ("lux io log" (exception.report - ... ["@@" "eval"] - ... ["context" (debug.inspect context)] - ... ["environment" (debug.inspect environment)])) + ... "@@" "eval" + ... "context" (debug.inspect context) + ... "environment" (debug.inspect environment))) ... self)) ... (org/renjin/sexp/AbstractSEXP -- cgit v1.2.3