diff options
author | Eduardo Julian | 2022-06-12 00:38:20 -0400 |
---|---|---|
committer | Eduardo Julian | 2022-06-12 00:38:20 -0400 |
commit | b48ea68a83d01903554c7696c77eedaaf1035680 (patch) | |
tree | c342d8094c3158de16526f874ca9624418cd2dd2 /lux-python/source | |
parent | 7abf2d0ac55c229a8793bbff31f132596ffcb275 (diff) |
De-sigil-ification: suffix : [Part 3]
Diffstat (limited to 'lux-python/source')
-rw-r--r-- | lux-python/source/program.lux | 8 |
1 files changed, 4 insertions, 4 deletions
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 [<class> <processing>] + (`` (<| (~~ (with_template [<class> <processing>] [(case (ffi.as <class> (as <class> host_object)) {.#Some host_object} {try.#Success (`` (|> host_object (~~ (template.spliced <processing>))))} @@ -230,7 +230,7 @@ [org/python/core/PyArray [org/python/core/PyArray::getArray]] [[java/lang/Object] [(|>)]] )) - (~~ (template [<class> <processing>] + (~~ (with_template [<class> <processing>] [(case (ffi.as <class> host_object) {.#Some host_object} (<| <processing> (as org/python/core/PyObject) host_object) @@ -273,7 +273,7 @@ (pattern (list)) (as org/python/core/PyObject self) - (~~ (template [<arity>] + (~~ (with_template [<arity>] [(pattern (list (~~ (static.literals code.local (inputs/? <arity>))))) (to_host ((as (~~ (static.literal function.identity (function/? <arity>))) it) (~~ (static.literals code.local (inputs/? <arity>)))))] @@ -334,7 +334,7 @@ (def: (to_host it) (-> Any org/python/core/PyObject) - (`` (<| (~~ (template [<jvm> <python>] + (`` (<| (~~ (with_template [<jvm> <python>] [(case (ffi.as <jvm> (as java/lang/Object it)) {.#Some it} (as org/python/core/PyObject |