Visgraph.arrive: def of bend-visgraph@2.0.0.0 Import: import bend-visgraph@2.0.0.0/visgraph.bend as Visgraph Lines 272-281 of bend-visgraph@2.0.0.0/visgraph.bend: https://jend.leeeet.dev/read.txt?path=bend-visgraph@2.0.0.0/visgraph.bend&start_line=272&end_line=281 import Base def arrive(st: Stack, nan: Bool, +y: F32, +i: U32, rights: Array, +visits: F32) -> Arrived: match st nan: case KNil{} True{}: OpensWithNaN{rights, visits} case KNil{} False{}: PopsAll{rights, visits} case KCon{+j, +kj, rest} True{}: Bounded{(j + 1 : U32), kj, KCon{j, kj, rest}, rights, visits} case KCon{+j, +kj, rest} False{}: lpops(rest, F32.is_gt(y, kj), y, i, j, kj, rights, visits) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.is_gt https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.add https://jend.leeeet.dev/definition.txt?path=bend-visgraph@2.0.0.0/visgraph.bend&name=Arrived https://jend.leeeet.dev/definition.txt?path=bend-visgraph@2.0.0.0/visgraph.bend&name=Stack https://jend.leeeet.dev/definition.txt?path=bend-visgraph@2.0.0.0/visgraph.bend&name=lpops