aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/translation.lux
diff options
context:
space:
mode:
authorEduardo Julian2018-07-22 02:52:46 -0400
committerEduardo Julian2018-07-22 02:52:46 -0400
commitb14102eaa2a80f51f160ba293ec01928dbe683c3 (patch)
treebf2640c4503de8c9f0a8f6b048548ef1a0bd4e83 /new-luxc/source/luxc/lang/translation.lux
parent9671d6064dd02dfe6c32492f5b9907b096e5bd89 (diff)
- Some fixes due to recent changes in stdlib.
- Removed some (now) useless modules.
Diffstat (limited to '')
-rw-r--r--new-luxc/source/luxc/lang/translation.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/new-luxc/source/luxc/lang/translation.lux b/new-luxc/source/luxc/lang/translation.lux
index 158158c51..3348953bb 100644
--- a/new-luxc/source/luxc/lang/translation.lux
+++ b/new-luxc/source/luxc/lang/translation.lux
@@ -15,7 +15,7 @@
(type ["tc" check]))
[host]
[io #+ IO Process io]
- (world [blob #+ Blob]
+ (world [binary #+ Binary]
[file #+ File]))
(luxc ["&" lang]
["&." io]
@@ -165,8 +165,8 @@
(for {"JVM" (as-is (host.import: java/lang/String
(getBytes [String] #try (Array byte)))
- (def: text-to-blob
- (-> Text Blob)
+ (def: text-to-binary
+ (-> Text Binary)
(|>> (:coerce String)
(String::getBytes ["UTF-8"])
e.assume)))})
@@ -178,7 +178,7 @@
## (dict.entries artifacts))]
## (&io.write target-dir
## (format module-name "/" cache.descriptor-name)
-## (text-to-blob (%code (cache/description.write file-name module))))))
+## (text-to-binary (%code (cache/description.write file-name module))))))
(def: no-aliases Aliases (dict.new text.Hash<Text>))