def Duration.sub.go
import bend-time-lib@0.4.0.1/duration.bend as Durationimport Base
273def Duration.sub.go(a: Duration, b: Duration) -> Result<&2, &2, Duration.Error, Duration>:
274 match a b:
275 case Duration{d1, s1, n1} Duration{d2, s2, n2}:
276 Duration.sub.n(d1, s1, n1, d2, s2, n2)