aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/target/jvm/type/lux.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/library/lux/target/jvm/type/lux.lux10
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/library/lux/target/jvm/type/lux.lux b/stdlib/source/library/lux/target/jvm/type/lux.lux
index b63cafeab..96fa31b11 100644
--- a/stdlib/source/library/lux/target/jvm/type/lux.lux
+++ b/stdlib/source/library/lux/target/jvm/type/lux.lux
@@ -29,7 +29,7 @@
[encoding
["[1][0]" name]]]])
-(template [<name>]
+(with_template [<name>]
[(primitive: .public (<name> class) Any)]
[Lower] [Upper]
@@ -51,7 +51,7 @@
(<>.after //parser.void
(<>#in (check#in .Any))))
-(template [<name> <parser> <reflection>]
+(with_template [<name> <parser> <reflection>]
[(def: <name>
(Parser (Check Type))
(<>.after <parser>
@@ -67,7 +67,7 @@
[char //parser.char //reflection.char]
)
-(template [<name> <parser> <box>]
+(with_template [<name> <parser> <box>]
[(def: <name>
(Parser (Check Type))
(<>.after <parser>
@@ -140,7 +140,7 @@
(<>.after (<text>.this //descriptor.class_prefix))
(<>.before (<text>.this //descriptor.class_suffix))))
-(template [<name> <prefix> <constructor>]
+(with_template [<name> <prefix> <constructor>]
[(def: <name>
(-> (Parser (Check Type)) (Parser (Check Type)))
(|> (<>.after (<text>.this <prefix>))
@@ -174,7 +174,7 @@
(|>> (<>#each (check#each (function (_ elementT)
(case elementT
{.#Primitive name {.#End}}
- (if (`` (or (~~ (template [<reflection>]
+ (if (`` (or (~~ (with_template [<reflection>]
[(text#= (//reflection.reflection <reflection>) name)]
[//reflection.boolean]