IO.inspect outputs strange character ~c

A list of integers is printed as a chartist if the integers are printable characters. See Inspect.Opts — Elixir v1.16.1 - the :charlists option. Welcome to the club - it’s like an initiation into Elixir! See Is there a way to inspect a list of integers without accidentally ending up with a charlist? for more info…

5 Likes