Iex printed '\nd' for some nested lists

$ iex
Erlang/OTP 24 [erts-12.0.3] [source] [64-bit] [smp:16:16] [ds:16:16:10] [async-threads:1] [jit]

Interactive Elixir (1.12.3) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> [[1, 2]]
[[1, 2]]
iex(2)> [[10, 100]]
['\nd']
iex(3)>

How can I tell iex to print [[10, 100]] as is?

Hello, take a look in the wiki section “My list of integers is printing as string”

5 Likes