Iso8601.Iso8601.expect.map: def of bend-time-lib@0.4.0.1 Import: import bend-time-lib@0.4.0.1/iso8601.bend as Iso8601 Lines 198-205 of bend-time-lib@0.4.0.1/iso8601.bend: https://jend.leeeet.dev/read.txt?path=bend-time-lib@0.4.0.1/iso8601.bend&start_line=198&end_line=205 import Base import bend-scanner@0.1.0.0/parse.bend as P def Iso8601.expect.map( r: Result<&2, &2, P.Parse.Error, P.Parse.Cur> ) -> Result<&2, &2, Iso8601.Error, P.Parse.Cur>: match r: case Fail{e}: Fail{Iso8601.from_parse(e)} case Done{cur}: Done{cur} Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=bend-scanner@0.1.0.0/parse.bend&name=Parse.Cur https://jend.leeeet.dev/definition.txt?path=bend-scanner@0.1.0.0/parse.bend&name=Parse.Error https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/iso8601.bend&name=Iso8601.Error https://jend.leeeet.dev/definition.txt?path=bend-time-lib@0.4.0.1/iso8601.bend&name=Iso8601.from_parse