ChunkColumn.stamp_search: def of bendvy-ecs-core@0.1.0.3 Import: import bendvy-ecs-core@0.1.0.3/chunk_column.bend as ChunkColumn Lines 196-200 of bendvy-ecs-core@0.1.0.3/chunk_column.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.3/chunk_column.bend&start_line=196&end_line=200 import Base import bendvy-ecs-core@0.1.0.3/lifecycle.bend as L def stamp_search(~S:Data,~C:Type,fuel:Nat,state:Visit) -> Column & Maybe<&2,L.Stamp>: match fuel state: case 0n Visit{column,_,path}: (rebuild(~S,~C,path,column),None{}) case 1n+_ Visit{Leaf{values,stamps},+index,path}: edit_return(~S,~C,~L.Stamp,path,stamp_leaf(~S,~C,values,stamps,index,U32.is_lt(index,8))) case 1n+rest Visit{Branch{+half,left,right},+index,path}: stamp_search(~S,~C,rest,edit_route(~S,~C,left,right,half,index,path,U32.is_lt(index,half))) Uses (12): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_lt https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/chunk_column.bend&name=Column https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/chunk_column.bend&name=Visit https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/chunk_column.bend&name=edit_return https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/chunk_column.bend&name=edit_route https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/chunk_column.bend&name=rebuild https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/chunk_column.bend&name=stamp_leaf https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.3/lifecycle.bend&name=Stamp