CapturedColumn.indexed_plain_checked: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/captured_column.bend as CapturedColumn Lines 31-34 of bendvy-ecs-core@0.1.0.4/captured_column.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/captured_column.bend&start_line=31&end_line=34 import Base import column.bend as Col import indexed_lifecycle.bend as M def indexed_plain_checked(~S:Data,~C:Type,+id:U32,metadata:M.Metadata,values:Array>,valid:Bool) -> Capture: match valid: case False{}: Unavailable{Col.indexed_wrap(~S,~C,values,metadata)} case True{}: indexed_plain_taken(~S,~C,id,metadata,Array.swap(Maybe<&1,C>,values,U32.sub(id,1),None{})) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array.swap https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.sub https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/captured_column.bend&name=Capture https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/captured_column.bend&name=indexed_plain_taken https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/column.bend&name=indexed_wrap https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/indexed_lifecycle.bend&name=Metadata