def pl.run

yaml-for-bend@0.1.1.0 · scan.bend:771

import yaml-for-bend@0.1.1.0/scan.bend as Scan
import Base
import yaml-for-bend@0.1.1.0/token.bend as T

771def pl.run(fuel: Nat, +ind: Nat, +flow: Bool, +start: T.Mark, p: Pl) -> Pl:
772  match fuel:
773    case 0n:
774      p
775    case 1n+k:
776      match p:
777        case Pl{cur, acc, end, ws, lead, brks, word, bad}:
778          pl.run(k, ind, flow, start, pl.step(Pl{cur, acc, end, ws, lead, brks, word, bad}, ind, flow, start))
779        case _:
780          p

Uses (5)

Used by (1)