I am currently working my way through the Elixir guide and I am not getting the same results when I run the example in String Interpolation locally.
In the first cell in the following image, I expected to get something like "The list is [72, 101, 108, 108, 111].", but I am getting something like "The list is Hello".
The second Cell expects to get a result like "The tuple is {72, 101, 108, 108, 108, 111}." when executed, but gets a Protocol.UndefinedError error.
I suspected it was an issue with the Livebook environment, so I tried running it through iex, but I'm getting the same results as when I ran it in Livebook.
Hello. Thank you for writing such a great guide.
I am currently working my way through the Elixir guide and I am not getting the same results when I run the example in String Interpolation locally.
In the first cell in the following image, I expected to get something like
"The list is [72, 101, 108, 108, 111]."
, but I am getting something like"The list is Hello"
.The second Cell expects to get a result like
"The tuple is {72, 101, 108, 108, 108, 111}."
when executed, but gets aProtocol.UndefinedError
error.I suspected it was an issue with the Livebook environment, so I tried running it through iex, but I'm getting the same results as when I ran it in Livebook.