Skip to content

Instantly share code, notes, and snippets.

@edvm
Created July 5, 2017 11:55
Show Gist options
  • Select an option

  • Save edvm/7ec7a8d449308200660e37b6b5b1a757 to your computer and use it in GitHub Desktop.

Select an option

Save edvm/7ec7a8d449308200660e37b6b5b1a757 to your computer and use it in GitHub Desktop.
Doubts why elixir prints numbers inside lists as \t \n , etc
Interactive Elixir (1.4.2) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> [1, 2]
[1, 2]
iex(2)> [9, 10, 2]
[9, 10, 2]
iex(3)> [9, 10]
'\t\n' <-- Whops! Unexpected!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment