just some stuff
at main 36 lines 359 B view raw
1x = 1 2IO.puts(x) 3 41 = x 5# 2 = x 6 7 8{a, b, c} = {:hello, "world", 42} 9 10IO.puts(a) 11IO.puts(b) 12IO.puts(c) 13 14{:ok, result} = {:ok, 13} 15 16IO.puts(result) 17 18[a, b, c] = [1, 2, 3] 19IO.puts(a) 20IO.puts(b) 21IO.puts(c) 22 23[head | tail] = [1, 2, 3] 24IO.puts(head) 25IO.puts(tail) 26 27list = [1, 2, 3] 28IO.puts([0 | list]) 29 30[head | _] = [1, 2, 3] 31IO.puts(head) 32 33x = 1 34^x = 2 35 36IO.puts(x)