Lists
- Ordered collection of scalars
- Dynamically sized
- 0-based index
- Used as literals; there's no "list"
variable type
- Has a subset of the functionality of
arrays
("zero", "one", "two")
Functions
sort
sort(LIST)
- Returns a new list, the sorted form of LIST
reverse
reverse(LIST)
- Return a new list, the reverse of LIST
join
join(EXPR, LIST)
- Return a string formed by concatenating
each element of LIST joined by EXPR
split
split(PATTERN, EXPR)
- Return a list formed from each
substring of EXPR bordered by PATTERN