Duration.Duration.from_hms.r: def of bend-time-lib@0.4.0.1 Import: import bend-time-lib@0.4.0.1/duration.bend as Duration Lines 81-90 of bend-time-lib@0.4.0.1/duration.bend: https://jend.leeeet.dev/read.txt?path=bend-time-lib@0.4.0.1/duration.bend&start_line=81&end_line=90 import Base def Duration.from_hms.r( +h: U32, +mi: U32, +s: U32, ok: Bool ) -> Result<&2, &2, Duration.Error, Duration>: match ok: case False{}: Fail{OutOfRange{}} case True{}: Duration.from_hms.h( h, mi, s, U32.is_le(h, U32.div(U32.not(0), 3600)) ) Uses (9): 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=Base/base.bend&name=U32.div https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_le https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.not 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/duration.bend&name=Duration.Error https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/duration.bend&name=Duration.from_hms.h