def pops_from
import bend-visgraph@2.0.0.0/visgraph.bend as Visgraphimport Base
348def pops_from(st: Stack, +y: F32, +i: U32, rights: Array<U32>, +visits: F32) -> Popped:
349 match st:
350 case KCon{+j, +kj, rest}:
351 pops(rest, F32.is_gt(y, kj), y, i, j, kj, rights, visits)
352 case KNil{}:
353 Popped{0, inf(), KNil{}, rights, visits}