From b48ea68a83d01903554c7696c77eedaaf1035680 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Sun, 12 Jun 2022 00:38:20 -0400 Subject: De-sigil-ification: suffix : [Part 3] --- lux-python/source/program.lux | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lux-python') diff --git a/lux-python/source/program.lux b/lux-python/source/program.lux index 4218cf248..d16446ac1 100644 --- a/lux-python/source/program.lux +++ b/lux-python/source/program.lux @@ -208,7 +208,7 @@ (def: (read host_object) Translator - (`` (<| (~~ (template [ ] + (`` (<| (~~ (with_template [ ] [(case (ffi.as (as host_object)) {.#Some host_object} {try.#Success (`` (|> host_object (~~ (template.spliced ))))} @@ -230,7 +230,7 @@ [org/python/core/PyArray [org/python/core/PyArray::getArray]] [[java/lang/Object] [(|>)]] )) - (~~ (template [ ] + (~~ (with_template [ ] [(case (ffi.as host_object) {.#Some host_object} (<| (as org/python/core/PyObject) host_object) @@ -273,7 +273,7 @@ (pattern (list)) (as org/python/core/PyObject self) - (~~ (template [] + (~~ (with_template [] [(pattern (list (~~ (static.literals code.local (inputs/? ))))) (to_host ((as (~~ (static.literal function.identity (function/? ))) it) (~~ (static.literals code.local (inputs/? )))))] @@ -334,7 +334,7 @@ (def: (to_host it) (-> Any org/python/core/PyObject) - (`` (<| (~~ (template [ ] + (`` (<| (~~ (with_template [ ] [(case (ffi.as (as java/lang/Object it)) {.#Some it} (as org/python/core/PyObject -- cgit v1.2.3