summaryrefslogtreecommitdiff
path: root/src/code/1/tuples
diff options
context:
space:
mode:
Diffstat (limited to 'src/code/1/tuples')
-rw-r--r--src/code/1/tuples17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/code/1/tuples b/src/code/1/tuples
deleted file mode 100644
index 60c5d52..0000000
--- a/src/code/1/tuples
+++ /dev/null
@@ -1,17 +0,0 @@
-iex> {}
-{}
-iex> {1, 2, 3}
-{1, 2, 3}
-iex> {1, :a, 3}
-{1, :a, 3}
-
-iex> tuple_size {1, 2, 3}
-3
-iex> elem({1, 2, 3}, 1)
-2
-iex> tuple = {:ok, 'hello'}
-{:ok, 'hello'}
-iex> put_elem(tuple, 1, 'world'}
-{:ok, 'world'}
-iex> tuple
-{:ok, 'hello'}