Iso8601.Iso8601.read_duration.p: def of bend-time-lib@0.4.0.1 Import: import bend-time-lib@0.4.0.1/iso8601.bend as Iso8601 Lines 542-549 of bend-time-lib@0.4.0.1/iso8601.bend: https://jend.leeeet.dev/read.txt?path=bend-time-lib@0.4.0.1/iso8601.bend&start_line=542&end_line=549 import Base import bend-scanner@0.1.0.0/parse.bend as P import bend-time-lib@0.4.0.1/duration.bend as Dur def Iso8601.read_duration.p( r: Result<&2, &2, Iso8601.Error, P.Parse.Cur> ) -> Result<&2, &2, Iso8601.Error, Dur.Duration>: match r: case Fail{e}: Fail{e} case Done{P.Cur{s, off}}: Iso8601.dur.go(s, off, DurCont{Iso8601.dur0(), DSeek{}}) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=bend-scanner@0.1.0.0/parse.bend&name=Parse.Cur https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/duration.bend&name=Duration https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/iso8601.bend&name=Iso8601.DurC https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/iso8601.bend&name=Iso8601.DurM https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/iso8601.bend&name=Iso8601.Error https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/iso8601.bend&name=Iso8601.dur.go https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/iso8601.bend&name=Iso8601.dur0