Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Latest commit

 

History

History
35 lines (23 loc) · 1.12 KB

File metadata and controls

35 lines (23 loc) · 1.12 KB

Learning objectives

  • Know what a tuple is.
  • Know how to define a tuple.
  • Know how to name tuple fields.
  • Know how to deconstruct tuples.
  • Know that tuples are mutable.

Out of scope

  • The old Tuple class.
  • Pattern matching on tuples.
  • How to add tuple pattern matching to your own and built-in types.
  • Know that tuples have structural equality.

Concepts

  • tuples: know what a tuple is; know how to define a tuple; know how to name tuple fields; know that tuples have structural equality; know how to deconstruct tuples; know that tuples are mutable.

Prerequisites

  • basics: know how to define methods and variables.
  • strings: obtaining sub-strings from a string

Representer

See this issue: handle tuple field names correctly in the representer.

Analyzer

See this representer issue: handle tuple field names correctly in the analyzer.