-
Notifications
You must be signed in to change notification settings - Fork 1
Tuple
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.
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 (,)
.
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.
Tuples support concatenation and indexing.