From 2d1de5da1a8ac3d7814b4d4e09e19020d02162c6 Mon Sep 17 00:00:00 2001 From: Bryan Enders Date: Wed, 23 Sep 2015 14:44:37 -0400 Subject: [PATCH] Indicate that Elixir passes all but one string test indicated in link MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The last http://mortoray.com/2013/11/27/the-string-type-is-broken/ test is for the comparison of two logically equivalent strings with different compositional forms (e.g., `"noe\u0308l"` and `"noël"`). --- getting-started/binaries-strings-and-char-lists.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getting-started/binaries-strings-and-char-lists.markdown b/getting-started/binaries-strings-and-char-lists.markdown index b16b44b40..e76fc76f9 100644 --- a/getting-started/binaries-strings-and-char-lists.markdown +++ b/getting-started/binaries-strings-and-char-lists.markdown @@ -56,7 +56,7 @@ iex> String.codepoints("hełło") ["h", "e", "ł", "ł", "o"] ``` -You will see that Elixir has excellent support for working with strings. It also supports many of the Unicode operations. In fact, Elixir passes all the tests showcased in the article ["The string type is broken"](http://mortoray.com/2013/11/27/the-string-type-is-broken/). +You will see that Elixir has excellent support for working with strings. It also supports many of the Unicode operations. In fact, Elixir passes all but the last test showcased in the article ["The string type is broken"](http://mortoray.com/2013/11/27/the-string-type-is-broken/). However, strings are just part of the story. If a string is a binary, and we have used the `is_binary/1` function, Elixir must have an underlying type empowering strings. And it does. Let's talk about binaries!