From 716ca5377386ca87eded7dd514ccc17f8ed281c3 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Sun, 26 Jun 2022 02:57:13 -0400 Subject: De-sigil-ification: suffix : [Part 16] --- lux-python/source/program.lux | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lux-python') diff --git a/lux-python/source/program.lux b/lux-python/source/program.lux index 9da4f8e57..3b01242ef 100644 --- a/lux-python/source/program.lux +++ b/lux-python/source/program.lux @@ -11,7 +11,7 @@ ["[0]" pipe] ["[0]" maybe] ["[0]" try (.only Try) (.use "[1]#[0]" monad)] - ["[0]" exception (.only exception:)] + ["[0]" exception (.only exception)] ["[0]" io (.only IO io)] ["[0]" function] [concurrency @@ -166,7 +166,7 @@ failure) {try.#Success output})))) - (exception: (unknown_kind_of_object [object java/lang/Object]) + (exception (unknown_kind_of_object [object java/lang/Object]) (exception.report "Object" (ffi.of_string (java/lang/Object::toString object)))) @@ -373,7 +373,7 @@ (|>> (as java/lang/Object) (ffi.as org/python/core/PyFunction))) - (exception: (cannot_apply_a_non_function [object java/lang/Object]) + (exception (cannot_apply_a_non_function [object java/lang/Object]) (exception.report "Object" (ffi.of_string (java/lang/Object::toString object)) "Class" (ffi.of_string (java/lang/Class::getName (java/lang/Object::getClass object))))) -- cgit v1.2.3