aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/lux/data/format/tar.lux
diff options
context:
space:
mode:
authorEduardo Julian2021-05-31 13:27:56 -0400
committerEduardo Julian2021-05-31 13:27:56 -0400
commit50838c0f09d7c9e46c4a0878c36e3a8462de5cdc (patch)
treeddfa17149f0714a48205a0bcaa50e35cde8d3ac4 /stdlib/source/test/lux/data/format/tar.lux
parentd5c14e64940a7f6d0e2bb207f12f21fc7b95656d (diff)
Re-factored the UTF8 codec into its own module.
Diffstat (limited to 'stdlib/source/test/lux/data/format/tar.lux')
-rw-r--r--stdlib/source/test/lux/data/format/tar.lux5
1 files changed, 3 insertions, 2 deletions
diff --git a/stdlib/source/test/lux/data/format/tar.lux b/stdlib/source/test/lux/data/format/tar.lux
index c842ebe9c..c7250a025 100644
--- a/stdlib/source/test/lux/data/format/tar.lux
+++ b/stdlib/source/test/lux/data/format/tar.lux
@@ -14,7 +14,8 @@
["." binary ("#\." equivalence monoid)]
["." text ("#\." equivalence)
["%" format (#+ format)]
- ["." encoding]
+ [encoding
+ ["." utf8]]
["." unicode #_
["#" set]
["#/." block]]]
@@ -163,7 +164,7 @@
#let [content (|> chunk
(list.repeat chunks)
(text.join_with "")
- (\ encoding.utf8 encode))]]
+ (\ utf8.codec encode))]]
(`` ($_ _.and
(~~ (template [<type> <tag>]
[(_.cover [<type>]