I have a function which at some point should return a list of values. As expected, the answer is [13] but instead of yielding [13] as a list the function yields '\r'.
I have tried checking it in the shell. Got the same result:
iex(1)> [13]
'\r'
Have tried a bunch of functions, like Enum.flatten([],[13]) or [[13]] but they give the same results.
What is this about?