Skip to content

containers

containers #

Composite types built from other CGTypes: Array, Map, Struct.

Each is one module — Array[T] (a homogeneous sequence), Map[K, V] (a keyable-scalar-indexed mapping), and Struct (named fields). They compose by parameterization (Array[Image], Map[Date, Session]) or subclassing (a Struct names its fields), and vectorize lifts a scalar function elementwise over them. Their broadcasting machinery lives in types.core.container; re-exports live at the capturegraph root.