aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/format
diff options
context:
space:
mode:
authorEduardo Julian2022-10-19 19:34:33 -0400
committerEduardo Julian2022-10-19 19:34:33 -0400
commit820ffc0a87d7960e62508fc451d9df7a94a6afa7 (patch)
tree33ff1ac227942820f92b43c0a8b872d4e080f974 /stdlib/source/format
parentd9a1d70ec04fd5796276aeb46038654ade4484f9 (diff)
Migrating default extensions to the new format [Part 2]
Diffstat (limited to 'stdlib/source/format')
-rw-r--r--stdlib/source/format/lux/data/binary.lux6
-rw-r--r--stdlib/source/format/lux/data/text.lux2
2 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/format/lux/data/binary.lux b/stdlib/source/format/lux/data/binary.lux
index 034d4edd7..2eede5dfb 100644
--- a/stdlib/source/format/lux/data/binary.lux
+++ b/stdlib/source/format/lux/data/binary.lux
@@ -38,9 +38,9 @@
(template (<name> <parameter> <subject>)
[(<post> (<extension> (.int <parameter>) (.int <subject>)))]))]
- [n#= "lux i64 =" .|>]
- [n#+ "lux i64 +" .nat]
- [n#* "lux i64 *" .nat]
+ [n#= .i64_=# .|>]
+ [n#+ .i64_+# .nat]
+ [n#* .int_*# .nat]
)
(def mask
diff --git a/stdlib/source/format/lux/data/text.lux b/stdlib/source/format/lux/data/text.lux
index 7d237bea2..0b475e609 100644
--- a/stdlib/source/format/lux/data/text.lux
+++ b/stdlib/source/format/lux/data/text.lux
@@ -51,7 +51,7 @@
(def .public format
(syntax (_ [fragments (<>.many <code>.any)])
- (in (.list (` (all "lux text concat" (,* fragments)))))))
+ (in (.list (` (all .text_composite# (,* fragments)))))))
(with_template [<name> <type> <formatter>]
[(def .public <name>