"Weird" behivor with list

I don’t understand why I get '\a\b\t' rather than [7,8,9] ?

iex(1)> list = [ [1,2,3], [4,5,6], [7,8,9] ]
[[1, 2, 3], [4, 5, 6], '\a\b\t']

This might help you :slight_smile:

And if that doesn’t help here is SO answer

1 Like

Thank you I will take a look :wink:

1 Like
1 Like

They are the same, iex is just trying to be helpful by formatting it as a printable string.

2 Likes