aboutsummaryrefslogtreecommitdiff
path: root/lux-scheme/source
diff options
context:
space:
mode:
authorEduardo Julian2022-06-12 00:38:20 -0400
committerEduardo Julian2022-06-12 00:38:20 -0400
commitb48ea68a83d01903554c7696c77eedaaf1035680 (patch)
treec342d8094c3158de16526f874ca9624418cd2dd2 /lux-scheme/source
parent7abf2d0ac55c229a8793bbff31f132596ffcb275 (diff)
De-sigil-ification: suffix : [Part 3]
Diffstat (limited to 'lux-scheme/source')
-rw-r--r--lux-scheme/source/program.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/lux-scheme/source/program.lux b/lux-scheme/source/program.lux
index 05f5bb3b3..ee61f9d45 100644
--- a/lux-scheme/source/program.lux
+++ b/lux-scheme/source/program.lux
@@ -159,7 +159,7 @@
{.#None}
false))
-(template [<name>]
+(with_template [<name>]
[(ffi.interface: <name>
(getValue [] java/lang/Object))
@@ -301,7 +301,7 @@
(def: (read host_object)
(Reader java/lang/Object)
- (`` (<| (~~ (template [<class>]
+ (`` (<| (~~ (with_template [<class>]
[(case (ffi.as <class> host_object)
{.#Some host_object}
{try.#Success host_object}
@@ -311,7 +311,7 @@
[java/lang/Boolean] [java/lang/Long] [java/lang/Double] [java/lang/String]
[gnu/mapping/Procedure] [gnu/lists/U8Vector]
))
- (~~ (template [<class> <processing>]
+ (~~ (with_template [<class> <processing>]
[(case (ffi.as <class> host_object)
{.#Some host_object}
{try.#Success (<| <processing> host_object)}