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