Parse.Parse.expect_literal.start: def of bend-scanner@0.1.0.0 Import: import bend-scanner@0.1.0.0/parse.bend as Parse Lines 73-82 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=73&end_line=82 import Base def Parse.expect_literal.start( s: String, p: String, off: Nat ) -> Result<&2, &2, Parse.Error, Parse.Cur>: match s p: case _ SNil{}: Done{Cur{s, off}} case SNil{} SCon{_, _}: Fail{Eof{off}} case SCon{+h, t} SCon{ph, pt}: Parse.expect_literal.go(t, pt, Char.is_eq(h, ph), h, off) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char.is_eq 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=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-scanner@0.1.0.0/parse.bend&name=Parse.expect_literal.go