Iso8601.Iso8601.per.valid: def of bend-time-lib@0.4.0.1 Import: import bend-time-lib@0.4.0.1/iso8601.bend as Iso8601 Lines 570-573 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=570&end_line=573 import Base import bend-time-lib@0.4.0.1/period.bend as Per def Iso8601.per.valid(st: Iso8601.PerS) -> Result<&2, &2, Iso8601.Error, Per.Period>: match st: case PerS{+y, +m, +d, +saw_y, +saw_m, +saw_w, +saw_d}: Iso8601.per.valid2(y, m, d, Iso8601.or4(saw_y, saw_m, saw_w, saw_d)) Uses (6): 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/iso8601.bend&name=Iso8601.Error https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/iso8601.bend&name=Iso8601.PerS https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/iso8601.bend&name=Iso8601.or4 https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/iso8601.bend&name=Iso8601.per.valid2 https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/period.bend&name=Period