Arrays have a type in Haxe. Mixed-type arrays are only allowed through the special Dynamic type.
Vectors are created through their constructor, haxe.ds.Vector(). The argument passed to it is the length.
A List is a a data collection without indexes, initializations, or comprehensions (iterated using looping functionality). However, elements can be freely added, removed, or filtered.
Lists have a type.
A GenericStack is an implementation of a stack, a first-in-last-out data structure. Like other complex data structures, it also has a type.
Note: GenericStack may need to be imported in order to be used.
A Map is a collection of unique key-value pairs where each have their own types. When using Maps, the types of its values can either be explicitly defined or inferred by Haxe based on their values.