TensorIndexed.block_step: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/tensor_indexed.bend as TensorIndexed Lines 50-55 of stelliferous@0.0.2.0/tensor_indexed.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/tensor_indexed.bend&start_line=50&end_line=55 import Base import stelliferous@0.0.2.0/traversal_array.bend as Traversal def block_step(~Element: Data,~Context: Data,~base: Context -> U32 -> U32,~operation: U32 -> Element -> Element, state: Traversal.State<&1,&1,Array,Array,Blocks>) -> Traversal.State<&1,&1,Array,Array,Blocks>: Traversal.State{input,output,+position,Blocks{+block,+size,+context}} = state next_block(~Element,~Context,block,size,context, Traversal.run(~Array,~Element,~Block,~read(~Element,~Block,~block_index,~operation),~destination(~Block),U32.to_nat(size), Traversal.State{input,output,position,Block{base(context,block),position}})) Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.to_nat https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_indexed.bend&name=Block https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_indexed.bend&name=Blocks https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_indexed.bend&name=block_index https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_indexed.bend&name=destination https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_indexed.bend&name=next_block https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/tensor_indexed.bend&name=read https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/traversal_array.bend&name=State https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/traversal_array.bend&name=run