Why Download Tutorial Reference

Lists

list

Packagelanguage
Source file(native)
NatureType
Typelist a1

Description

Lists are a major structure for functional languages. They are unmutable ordered sets of elements of any type.

It is possible to write lists directly in the minimacy source code. This is how the list appears when Minimacy displays types:

1:2:3:nil 
"foo":"bar":nil 

All list items must have the same type.

nil is the empty list. Don't forget it!

Seen in

On the same topic