KernelTile.read_with_head: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/kernel_tile.bend as KernelTile Lines 61-68 of stelliferous@0.0.2.0/kernel_tile.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/kernel_tile.bend&start_line=61&end_line=68 import Base def read_with_head( ~State: Type,~Context: Data,~read: State -> Context -> Nat -> State & F32, state: State,combined: HeadContext,index: Nat ) -> State & F32: HeadContext{head,context} = combined match index: case 0n: (state,head) case 1n+rest: read(state,context,1n+rest) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 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=stelliferous@0.0.2.0/kernel_tile.bend&name=HeadContext