def line.rest
import yaml-for-bend@0.1.1.0/scan.bend as Scanimport Base
1324# Past the rest of a line.
1325def line.rest(s: String) -> Nat:
1326 match s:
1327 case SNil{}:
1328 0n
1329 case SCon{+c, t}:
1330 count.or(Bool.not(is_break(c)), u => 1n+line.rest(t))