From 47890ee876d2a33d9d7d1c559912123359ab9f87 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Sat, 21 Jul 2018 00:20:16 -0400 Subject: Re-named "lux/world/blob" to "lux/world/binary". --- stdlib/source/lux/data/text/encoding.lux | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'stdlib/source/lux/data/text/encoding.lux') 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]))}))) -- cgit v1.2.3