def rev.confirm

bend-kit-regex@0.8.0.0 · regex.bend:2220

import bend-kit-regex@0.8.0.0/regex.bend as Regex
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

2220def rev.confirm(r: RevFound, +plain: Bool, +prog: Trie<Inst>, +fuel: Nat, +init: List<&2, Maybe<&2, U32>>, +start: Maybe<&2, List<&2, Inst>>, +asc: Maybe<&2, Asc>, +any: Bool, +slots: Nat) -> Bytes.Bytes & Maybe<&2, List<&2, Maybe<&2, U32>>>:
2221  RevFound{b, best, safe} = r
2222  match safe:
2223    case False{}:
2224      exec.bytes.run(b, plain, prog, fuel, init, start, asc, any, slots)
2225    case True{}:
2226      rev.confirm.best(best, b, plain, prog, fuel, init, start, asc, any, slots)

Uses (13)

Used by (1)