Lists
A list is a value containing a sequence of elements.
Haskell notation: enclose in square brackets.
[1, 2, 3] a list with three elements
[2, 1, 3] a different list
[] the empty list, with zero elements
[42] a list with one element.
Föregående bild
Nästa bild
Tillbaka till första bilden
Visa grafisk version