diff options
Diffstat (limited to '')
-rw-r--r-- | new-luxc/source/luxc/lang/translation.lux | 8 |
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>)) |