def flow.pop
import yaml-for-bend@0.1.1.0/scan.bend as Scanimport Base
573def flow.pop(st: Sc) -> Sc:
574 match st:
575 case Sc{cur, ind, inds, flow, allowed, tab, keys, out, n, max}:
576 match flow:
577 case 0n:
578 Sc{cur, ind, inds, 0n, allowed, tab, keys, out, n, max}
579 case 1n+f:
580 Sc{cur, ind, inds, f, allowed, tab, List.drop(&2, SKey, keys, 1n), out, n, max}