diff options
Diffstat (limited to 'stdlib/source/library/lux/target/jvm/constant.lux')
-rw-r--r-- | stdlib/source/library/lux/target/jvm/constant.lux | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/library/lux/target/jvm/constant.lux b/stdlib/source/library/lux/target/jvm/constant.lux index 93b959f5d..f8ca85cc0 100644 --- a/stdlib/source/library/lux/target/jvm/constant.lux +++ b/stdlib/source/library/lux/target/jvm/constant.lux @@ -97,7 +97,7 @@ (|>> representation) Equivalence<kind>)) - (template [<constructor> <type> <marker>] + (with_template [<constructor> <type> <marker>] [(type: .public <type> (Value <marker>)) @@ -112,7 +112,7 @@ [string String (Index UTF8)] ) - (template [<writer_name> <type> <write> <writer>] + (with_template [<writer_name> <type> <write> <writer>] [(def: <writer_name> (Writer <type>) (`` (|>> representation @@ -137,7 +137,7 @@ [#class (Index Class) #name_and_type (Index (Name_And_Type of))])) -(template [<type> <equivalence> <writer>] +(with_template [<type> <equivalence> <writer>] [(def: .public <equivalence> (Equivalence (<type> Any)) (all product.equivalence @@ -184,7 +184,7 @@ (implementation (def: (= reference sample) (case [reference sample] - (^.template [<tag> <equivalence>] + (^.with_template [<tag> <equivalence>] [[{<tag> reference} {<tag> sample}] (at <equivalence> = reference sample)]) ([#UTF8 text.equivalence] @@ -242,7 +242,7 @@ )] (function (_ value) (case value - (^.template [<case> <tag> <writer>] + (^.with_template [<case> <tag> <writer>] [{<case> value} (binaryF#composite (/tag.writer <tag>) (<writer> value))]) |