Iso8601.Iso8601.dur.put_h2: def of bend-time-lib@0.4.0.1 Import: import bend-time-lib@0.4.0.1/iso8601.bend as Iso8601 Lines 336-344 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=336&end_line=344 import Base def Iso8601.dur.put_h2( days: U32, n: U32, mi: U32, s: U32, nanos: U32, saw_d: Bool, saw_m: Bool, saw_s: Bool, bad: Bool ) -> Result<&2, &2, Iso8601.Error, Iso8601.DurS>: match bad: case True{}: Fail{Invalid{}} case False{}: Done{DurS{days, n, mi, s, nanos, saw_d, True{}, True{}, saw_m, saw_s}} Uses (5): 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=Base/base.bend&name=U32 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