aboutsummaryrefslogtreecommitdiff
path: root/lux-php/source
diff options
context:
space:
mode:
Diffstat (limited to 'lux-php/source')
-rw-r--r--lux-php/source/program.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/lux-php/source/program.lux b/lux-php/source/program.lux
index 99148cb83..9c612ae97 100644
--- a/lux-php/source/program.lux
+++ b/lux-php/source/program.lux
@@ -166,7 +166,7 @@
"[1]::[0]"
(call [php/runtime/env/Environment [php/runtime/Memory]] "try" php/runtime/Memory))
-(template [<name>]
+(with_template [<name>]
[(ffi.interface: <name>
(getValue [] java/lang/Object))
@@ -246,7 +246,7 @@
[] (valueOfIndex self [trace php/runtime/env/TraceInfo
index php/runtime/Memory])
php/runtime/Memory
- (`` (<| (~~ (template [<class> <method> <extractor>]
+ (`` (<| (~~ (with_template [<class> <method> <extractor>]
[(case (ffi.as <class> index)
{.#Some index}
(<method> trace (<extractor> index) self)
@@ -379,7 +379,7 @@
(def: (read host_object)
Reader
- (`` (<| (~~ (template [<class> <constant>]
+ (`` (<| (~~ (with_template [<class> <constant>]
[(case (ffi.as <class> host_object)
{.#Some _}
{try.#Success <constant>}
@@ -389,7 +389,7 @@
[php/runtime/memory/FalseMemory false]
[php/runtime/memory/TrueMemory true]
))
- (~~ (template [<class> <post>]
+ (~~ (with_template [<class> <post>]
[(case (ffi.as <class> host_object)
{.#Some value}
(`` (|> value (~~ (template.splice <post>))))