Path.norm.walk: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/pkg/path.bend as Path Lines 88-97 of ezx@1.11.0.0/src/pkg/path.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/pkg/path.bend&start_line=88&end_line=97 import Base # the walk one component at a time. Base's `List.foldl` applies an erased # function parameter, which Bend's termination check cannot see through, so # every def reaching it is reported as relying on unsafe code; a walk written # out is structural and costs nothing. def norm.walk(cs: List<&2, String>, st: Walk) -> Walk: match cs: case []: st case h <> t: norm.walk(t, norm.step(st, h)) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/path.bend&name=Walk https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/path.bend&name=norm.step