TraversalLanes.map: def of stelliferous@0.0.2.0 Import: import stelliferous@0.0.2.0/traversal_lanes.bend as TraversalLanes Lines 86-89 of stelliferous@0.0.2.0/traversal_lanes.bend: https://jend.leeeet.dev/read.txt?path=stelliferous@0.0.2.0/traversal_lanes.bend&start_line=86&end_line=89 import Base import stelliferous@0.0.2.0/traversal_cells.bend as Cells import stelliferous@0.0.2.0/traversal_array.bend as Traversal # map over the count values from position, in order: Traversal.map_in_place # with the values of each round computed together. def map(~Context: Data,~map: Context -> F32 -> F32,count: Nat,position: U32,context: Context,values: Array) -> Array: rounds(~Context,~map,count,Cells.State{values,scratch(),position,0,context}) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array 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=U32 https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/traversal_cells.bend&name=State https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/traversal_lanes.bend&name=rounds https://jend.leeeet.dev/definition.txt?path=stelliferous@0.0.2.0/traversal_lanes.bend&name=scratch