Elixir Tuples: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

3 December 2023

  • curprev 14:3514:35, 3 December 2023Elixirfan talk contribs 2,418 bytes +2,418 Created page with "== Elixir Tuples == '''Tuples''' in '''Elixir''' are ordered collections of values that can contain any type of data. Unlike lists, tuples are fixed in length and cannot be modified once created. In Elixir, tuples are defined using curly braces and comma-separated values. Here's an example of a tuple: ```elixir tuple = {:name, "John", :age, 30} ``` Tuples are commonly used in Elixir to represent structured data and can be accessed using pattern matching or by using th..."