Created
June 7, 2021 22:08
-
-
Save BrooklinJazz/9c2d1442c1ad4e22da7d648b0b5476d0 to your computer and use it in GitHub Desktop.
Tuple examples in Elixir
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Tuple.append({1}, 2) # {1, 2} | |
| Tuple.duplicate(0, 5) # {0, 0, 0, 0, 0} | |
| Tuple.insert_at({1, 3}, 1, 2) # {1, 2, 3} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment