def Iso8601.per.seek2
import bend-time-lib@0.4.0.1/iso8601.bend as Iso8601import Base
import bend-scanner@0.1.0.0/parse.bend as P
742def Iso8601.per.seek2(
743 off: Nat, st: Iso8601.PerS, +h: Char, is_dig: Bool
744) -> Iso8601.PerC:
745 match is_dig:
746 case True{}:
747 PerCont{st, PNum{P.Parse.nacc(0, h)}}
748 case False{}:
749 PerFail{Extra{off, h}}