Lists
List literals are created using square brackets as below. Like all types in Mond, they are immutable.
(let numbers {} [1 2 3 4 5])
Lists are homogeneous, so all items must have the same type.
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
List literals are created using square brackets as below. Like all types in Mond, they are immutable.
(let numbers {} [1 2 3 4 5])
Lists are homogeneous, so all items must have the same type.