Created
March 16, 2015 06:12
-
-
Save mprymek/5896740ec8157d4d23e9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iex(5)> a = <<104, 101, 322, 322, 111>> | |
"heBBo" | |
iex(6)> b = <<104, 101, 66, 66, 111>> | |
"heBBo" | |
iex(7)> a |> inspect(binaries: :as_binaries) | |
"<<104, 101, 66, 66, 111>>" | |
iex(8)> b |> inspect(binaries: :as_binaries) | |
"<<104, 101, 66, 66, 111>>" | |
iex(9)> a = b | |
"heBBo" | |
iex(10)> <<104, 101, 322, 322, 111>> = <<104, 101, 66, 66, 111>> | |
** (MatchError) no match of right hand side value: "heBBo" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment