how to write tuples in elixir

65

how to write tuples in elixir -

iex> {:ok, "hello"}
{:ok, "hello"}
iex> tuple_size {:ok, "hello"}
2

Comments

Submit
0 Comments