Parse.Parse.read_fixed.go: def of bend-scanner@0.1.0.0 Import: import bend-scanner@0.1.0.0/parse.bend as Parse Lines 142-157 of bend-scanner@0.1.0.0/parse.bend: https://jend.leeeet.dev/read.txt?path=bend-scanner@0.1.0.0/parse.bend&start_line=142&end_line=157 import Base def Parse.read_fixed.go( s: String, n: Nat, +acc: U32, off: Nat, st: Parse.St, +max: U32 ) -> Result<&2, &2, Parse.Error, Parse.Dec>: match s n st: case _ _ StBad{c}: Fail{Unexpected{off, c}} case _ _ StOv{}: Fail{Overflow{off}} case _ 0n StOk{}: Done{Dec{acc, Cur{s, off}}} case SNil{} 1n++p StOk{}: Fail{Eof{off}} case SCon{+h, t} 1n++p StOk{}: Parse.read_fixed.go( t, p, Parse.nacc(acc, h), 1n+off, Parse.st.of(acc, h, max), max ) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 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.Dec 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-scanner@0.1.0.0/parse.bend&name=Parse.St https://jend.leeeet.dev/definition.txt?path=bend-scanner@0.1.0.0/parse.bend&name=Parse.nacc https://jend.leeeet.dev/definition.txt?path=bend-scanner@0.1.0.0/parse.bend&name=Parse.st.of