x = 1 IO.puts(x) 1 = x # 2 = x {a, b, c} = {:hello, "world", 42} IO.puts(a) IO.puts(b) IO.puts(c) {:ok, result} = {:ok, 13} IO.puts(result) [a, b, c] = [1, 2, 3] IO.puts(a) IO.puts(b) IO.puts(c) [head | tail] = [1, 2, 3] IO.puts(head) IO.puts(tail) list = [1, 2, 3] IO.puts([0 | list]) [head | _] = [1, 2, 3] IO.puts(head) x = 1 ^x = 2 IO.puts(x)