Skip to content
Unlocked edited this page Dec 11, 2018 · 1 revision

Tuples are an evaluated type in FAI which stores an ordered list. Tuples, unlike vectors, may have zero values.

Display

Literal

The tuple literal is in the form (a, b, c, ..., d) where a, b, c, ..., d are a comma-separated list of elements. The zero-element tuple literal is (,).

String form

The string form is exactly the same as the literal, with the exception that all values will be evaluated and in their own string form.

Operators

Tuples support concatenation and indexing.

Clone this wiki locally