From 141400a2eb67eaf5eb570673abd73efbead58201 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Wed, 18 Jan 2012 13:25:51 +0100 Subject: [PATCH] Fix typo in chapter 6. --- docs/6_other_topics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/6_other_topics.md b/docs/6_other_topics.md index 2517f56ac0..30b47e45e0 100644 --- a/docs/6_other_topics.md +++ b/docs/6_other_topics.md @@ -76,7 +76,7 @@ Bit string generators are quite useful when you need to organize bit string stre Remember, as strings are binaries and a binary is a bitstring, we can also use strings on comprehensions. For instance, the example below removes all white space characters from a string via bit comprehensions: - iex> bc <> in " hello world ", c != ?\s, do: c + iex> bc <> in " hello world ", c != ?\s, do: <> "helloworld" Elixir does its best to hide the differences between list and bit string generators. However, there is a special case due to Erlang limitation that we need to explicitly tell Erlang that a list is being given as argument: