Course of Raku / Essentials

Positional data types

It is time to talk about more complex data types. Positional data types in Raku are those that can be indexed (or subscripted). We already met one of the representatives of this class of data type: ranges.

In this section, we introduce two more positional data types: Array and List. More in-depth information will follow up in the second part. We also take a second look at ranges in light of them being a positional data type.

Course navigation

Typed variables / Allomorphs   |   Arrays