Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 862 Bytes

tuple.md

File metadata and controls

24 lines (16 loc) · 862 Bytes

Tuple

A data structure that groups together a fixed number of items. Unlike an array, the tuple can usually contain items of more than one type. Often used to implement records.

Exercises

Kitchen Calculator

This exercise asks student to create and maintain few functions which use tuples as grouped information to represent different kitchen measurements

  • Tuples
  • Tuples as grouped information
  • Getting values from a tuple by use of element index
  • Getting values from a tuple using pattern matching
  • Creating new tuples

Implementations

Track Exercise Changes
Elixir tuples None