EmergingEztoml.str.eq.step: def of emerging-eztoml@0.9.0.0 Import: import emerging-eztoml@0.9.0.0/main.bend as EmergingEztoml Lines 1196-1204 of emerging-eztoml@0.9.0.0/main.bend: https://jend.leeeet.dev/read.txt?path=emerging-eztoml@0.9.0.0/main.bend&start_line=1196&end_line=1204 import Base # character-for-character equality. a mismatch drops the rest and stops def str.eq.step(aa: String, bb: String, same: Bool) -> Bool: match aa bb same: case SNil{} SNil{} True{}: True{} case SCon{x, xt} SCon{y, yt} True{}: str.eq.step(xt, yt, Char.is_eq(x, y)) case _a _b _s: False{} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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=String