Skip to content

Arrays

You can group several values in an array.

numbers : Array Int
numbers =
[ 1, 2, 3, 4, 5 ]

All values in an array must be of the same type. You cannot have an array of String and Int, for instance.