def Duration.carry
import bend-kit-time@0.3.0.0/time.bend as Timeimport Base
import bend-kit-int@0.2.0.0/int.bend as Int
72def Duration.carry(c: Bool, s: Int.I64, +n: U32) -> Duration:
73 match c:
74 case True{}:
75 Duration{Int.I64.add(s, i64(1)), (n - 1000000000 : U32)}
76 case False{}:
77 Duration{s, n}