I am new to Elixir and have I am trying to print something to STDOUT using IO.puts
. IO.puts
requires chardata. I looked at the Elixir docs and didn't see a way to convert tuples to bitstrings. I know there has to be a way to do this but I haven't found any BIF that do this.
So I want to convert this: {"foo", "bar", "baz"}
to this: "foobarbaz"
.
I am in the process of learning Elixir and Erlang so this is all pretty new to me.
Thanks in advance!