def Format.off.colon
import bend-time-lib@0.4.0.1/format.bend as Formatimport Base
import bend-scanner@0.1.0.0/parse.bend as P
228def Format.off.colon(
229 west: Bool, h: U32, r: Result<&2, &2, P.Parse.Error, P.Parse.Cur>
230) -> Result<&2, &2, Format.Error, Format.OffP>:
231 match r:
232 case Fail{e}:
233 Fail{Format.from_parse(e)}
234 case Done{cur}:
235 Format.off.min2(west, h, P.Parse.read_fixed_decimal(cur, 2n, 99))