Iso8601.Iso8601.dur.valid3: def of bend-time-lib@0.4.0.1 Import: import bend-time-lib@0.4.0.1/iso8601.bend as Iso8601 Lines 274-285 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=274&end_line=285 import Base import bend-time-lib@0.4.0.1/duration.bend as Dur def Iso8601.dur.valid3( st: Iso8601.DurS, has: Bool, tok: Bool ) -> Result<&2, &2, Iso8601.Error, Dur.Duration>: match has: case False{}: Fail{Invalid{}} case True{}: match tok: case False{}: Fail{Invalid{}} case True{}: Iso8601.dur.mk(st) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result 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.DurS 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.mk