aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/data/text/encoding.lux
diff options
context:
space:
mode:
authorEduardo Julian2020-05-19 23:46:38 -0400
committerEduardo Julian2020-05-19 23:46:38 -0400
commit853642c340730b3bb23c1ac87660c5c7ecbffa93 (patch)
tree250a785d8c61b38f6673f0273d07118971124c4c /stdlib/source/lux/data/text/encoding.lux
parentd97f92842981501a8e0d95a1b4f1ba3d9e72f0d5 (diff)
Can now write TAR files.
Diffstat (limited to '')
-rw-r--r--stdlib/source/lux/data/text/encoding.lux4
1 files changed, 3 insertions, 1 deletions
diff --git a/stdlib/source/lux/data/text/encoding.lux b/stdlib/source/lux/data/text/encoding.lux
index 59e5efcc2..9e94f25af 100644
--- a/stdlib/source/lux/data/text/encoding.lux
+++ b/stdlib/source/lux/data/text/encoding.lux
@@ -219,6 +219,8 @@
(#try.Success (|> (TextDecoder::new [(..name ..utf-8)])
(TextDecoder::decode [value])))})))
-(structure: #export UTF-8 (Codec Binary Text)
+(structure: #export UTF-8
+ (Codec Binary Text)
+
(def: encode ..to-utf8)
(def: decode ..from-utf8))