def key.or

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

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

460def key.or(r: Result<&2, &2, T.Error, List<&2, SKey>>, +st: Sc) -> Step:
461  match r:
462    case Fail{e}:
463      fail.with(st, e)
464    case Done{ks}:
465      Go{sc.with.keys(st, ks)}

Uses (8)

Used by (2)