Week.IsoWeek.from.ok: def of bend-time-lib@0.4.0.1 Import: import bend-time-lib@0.4.0.1/week.bend as Week Lines 56-63 of bend-time-lib@0.4.0.1/week.bend: https://jend.leeeet.dev/read.txt?path=bend-time-lib@0.4.0.1/week.bend&start_line=56&end_line=63 import Base import bend-time-lib@0.4.0.1/date.bend as D def IsoWeek.from.ok( got: D.Date, eq: Bool ) -> Result<&2, &2, D.Date.Error, D.Date>: match eq: case True{}: Done{got} case False{}: Fail{D.OutOfRange{}} Uses (4): 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/date.bend&name=Date https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/date.bend&name=Date.Error