diff options
author | Eduardo Julian | 2018-07-21 00:20:16 -0400 |
---|---|---|
committer | Eduardo Julian | 2018-07-21 00:20:16 -0400 |
commit | 47890ee876d2a33d9d7d1c559912123359ab9f87 (patch) | |
tree | 25b7baaec924ad864a2ca2e75bd2c0b7af08e39f /stdlib/source/lux/data/text/encoding.lux | |
parent | f7772ee6c7c99912b3ea2b0c98eefff0d1489841 (diff) |
Re-named "lux/world/blob" to "lux/world/binary".
Diffstat (limited to 'stdlib/source/lux/data/text/encoding.lux')
-rw-r--r-- | stdlib/source/lux/data/text/encoding.lux | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/lux/data/text/encoding.lux b/stdlib/source/lux/data/text/encoding.lux index d5246e382..661e0bbf9 100644 --- a/stdlib/source/lux/data/text/encoding.lux +++ b/stdlib/source/lux/data/text/encoding.lux @@ -3,7 +3,7 @@ [data ["." error (#+ Error)]] [world - [blob (#+ Blob)]] + [binary (#+ Binary)]] [language ["_" host]] [host (#+ import:)]]) @@ -16,11 +16,11 @@ (getBytes [String] (Array byte))))})) (def: #export (to-utf8 value) - (-> Text Blob) + (-> Text Binary) (`` (for {(~~ (static _.jvm)) (String::getBytes [..utf8] value)}))) (def: #export (from-utf8 value) - (-> Blob (Error Text)) + (-> Binary (Error Text)) (`` (for {(~~ (static _.jvm)) (#error.Success (String::new [value ..utf8]))}))) |