def inspect

bendvy-ecs-core@0.1.0.3 · chunk_shape.bend:23

import bendvy-ecs-core@0.1.0.3/chunk_shape.bend as ChunkShape
import Base
import bendvy-ecs-core@0.1.0.3/chunk_column.bend as Col

23def inspect(-S:Data,-C:Type,column:Col.Column<S,C>) -> Col.Column<S,C> & Inspection:
24  match column:
25    case Col.Leaf{values,stamps}:inspect_values(S,C,stamps,Array.size(Maybe<&1,C>,values))
26    case Col.Branch{half,left,right}:inspected_pair(S,C,half,inspect(S,C,left),inspect(S,C,right))

Uses (7)

Used by (5)