Unexpected output of very simple recursion method on a simple list

This is a common point of confusion for new folks, you can read more about this here: Binaries, strings, and charlists - The Elixir programming language

4 Likes