def roll.do

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

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

604def roll.do(st: Sc, col: Nat, number: Maybe<&2, Nat>, tok: T.Tok, +at: T.Mark) -> Sc:
605  match st:
606    case Sc{cur, ind, inds, flow, allowed, tab, keys, out, +n, max}:
607      Sc{cur, 1n+col, ind <> inds, flow, allowed, tab, keys, insert(out, n, number, T.Token{tok, at, at}), 1n+n, max}

Uses (8)

Used by (1)