Pull.next.run: def of emerging-ezjson@1.3.0.0 Import: import emerging-ezjson@1.3.0.0/src/pull.bend as Pull Lines 1544-1553 of emerging-ezjson@1.3.0.0/src/pull.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezjson@1.3.0.0/src/pull.bend&start_line=1544&end_line=1553 import Base # a walk with a budget of 2^lvl jumps: one step's budget at depth 0, and # the budget below it twice otherwise. A finished step passes through def next.run(lvl: Nat, res: Out) -> Out: match lvl res: case 0n More{txt, st}: next.go(next.leaf(), txt, st) case 1n+(+pp) More{txt, st}: next.run(pp, next.run(pp, More{txt, st})) case _ Fin{got}: Fin{got} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=emerging-ezjson@1.3.0.0/src/pull.bend&name=Out https://jend.leeeet.dev/definition.txt?path=emerging-ezjson@1.3.0.0/src/pull.bend&name=next.go https://jend.leeeet.dev/definition.txt?path=emerging-ezjson@1.3.0.0/src/pull.bend&name=next.leaf