Sets, Sequences and Mappings#

Introduction to Aggregates

Overview of aggregate types, nesting, multi-indexing and common operations.

Introduction to Aggregates
Sets

Enumerated sets, set-builder notation, membership, operations and power sets.

Sets
Sequences

Ordered sequences: indexing, slicing, sorting, modification and iteration.

Sequences
Tuples and Cartesian Products

Fixed-length tuples, Cartesian product parents and component access.

Tuples and Cartesian Products
Lists

Mutable dynamic lists and list operations.

Lists
Associative Arrays

Key-value maps with arbitrary index types.

Associative Arrays
Coproducts

Disjoint union types and access to their elements.

Coproducts
Records

Named-field record structures and record formats.

Records
Mappings

Maps between sets: injections, surjections, bijections and coercion maps.

Mappings