aboutsummaryrefslogtreecommitdiff
path: root/lux-scheme
diff options
context:
space:
mode:
Diffstat (limited to '')
-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)}