Ship

Lexicon · Persistent collection

Persistent collection

Immutable structure with structural sharing. Default for public collection APIs: Vector, immutable Map, and immutable Set values.

Scoped batch updates use module functions such as Vector.edit(items, fn(editor) { ... }), not receiver-style .edit(...).

See ../book/008-Collections.shp.