---
title: "Sets, Sequences, and Mappings"
canonical: "https://docs.magma-maths.org/v2.30-1/SetsSequencesMappings/index-sets-sequences-mappings.html"
source: "https://docs.magma-maths.org/v2.30-1/SetsSequencesMappings/index-sets-sequences-mappings.md"
part: "Sets, Sequences, and Mappings"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
prev: {"title": "Using the Debugger", "source": "https://docs.magma-maths.org/v2.30-1/MagmaLanguage/DebuggingMagmaCode/using-debugger.md"}
next: {"title": "Introduction to Aggregates", "source": "https://docs.magma-maths.org/v2.30-1/SetsSequencesMappings/IntroductionToAggregates/index-introduction-to-aggregates.md"}
---

# Sets, Sequences, and Mappings

- [Introduction to Aggregates](https://docs.magma-maths.org/v2.30-1/SetsSequencesMappings/IntroductionToAggregates/index-introduction-to-aggregates.md): Overview of aggregate types, nesting, multi-indexing, and common operations.
- [Sets](https://docs.magma-maths.org/v2.30-1/SetsSequencesMappings/Sets/index-sets.md): Enumerated sets, set-builder notation, membership, operations, and power sets.
- [Sequences](https://docs.magma-maths.org/v2.30-1/SetsSequencesMappings/Sequences/index-sequences.md): Ordered sequences: indexing, slicing, sorting, modification, and iteration.
- [Tuples and Cartesian Products](https://docs.magma-maths.org/v2.30-1/SetsSequencesMappings/TuplesCartesianProducts/index-tuples-cartesian-products.md): Fixed-length tuples, Cartesian product parents, and component access.
- [Lists](https://docs.magma-maths.org/v2.30-1/SetsSequencesMappings/Lists/index-lists.md): Mutable dynamic lists and list operations.
- [Associative Arrays](https://docs.magma-maths.org/v2.30-1/SetsSequencesMappings/AssociativeArrays/index-associative-arrays.md): Key-value maps with arbitrary index types.
- [Coproducts](https://docs.magma-maths.org/v2.30-1/SetsSequencesMappings/Coproducts/index-coproducts.md): Disjoint union types and access to their elements.
- [Records](https://docs.magma-maths.org/v2.30-1/SetsSequencesMappings/Records/index-records.md): Named-field record structures and record formats.
- [Mappings](https://docs.magma-maths.org/v2.30-1/SetsSequencesMappings/Mappings/index-mappings.md): Maps between sets: injections, surjections, bijections, and coercion maps.

[Download Part II: Sets, Sequences, and Mappings as PDF](https://docs.magma-maths.org/v2.30-1/SetsSequencesMappings/magma-hb-2.30-1-setssequencesmappings.pdf)

PDF, 368 KB, version 2.30-1

[Download Part II: Sets, Sequences, and Mappings as Markdown](https://docs.magma-maths.org/v2.30-1/SetsSequencesMappings/magma-hb-2.30-1-setssequencesmappings.md)

Markdown, 259 KB, version 2.30-1
