TypeHeterogeneousExtensible
ArrayYesYes
TupleYesYes
VectorYesYes
ListYesYes

Array

IndexMap is a Map that preserves the order of the keys.

Tuple

Aka Heterogeneous Array

Tuple 能够储存不同的类型

Vector

Aka Extensible Array

BTreeMap is a Map that preserves the order of the keys.

List

Aka Heterogeneous Vector

Dict

Dict is a OrderedMap with string keys.

type Dict[T] = OrderedMap[String, T]