aboutsummaryrefslogtreecommitdiff
path: root/lux-r
diff options
context:
space:
mode:
authorEduardo Julian2022-03-15 22:45:49 -0400
committerEduardo Julian2022-03-15 22:45:49 -0400
commitb0093a3849baaeb5e12692b2cf6ac65ba74bbd54 (patch)
tree26db4a468c2f75c64ba16e8b7dbf20f135d369fc /lux-r
parentbc36487224f670c23002cc4575c0dba3e5dc1be1 (diff)
Leaner syntax for library/lux/control/exception.report
Diffstat (limited to 'lux-r')
-rw-r--r--lux-r/source/program.lux10
1 files changed, 5 insertions, 5 deletions
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 [<name>]
[(exception: (<name> [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