Pkg.scan.walk: def of ezx@1.13.0.0 Import: import ezx@1.13.0.0/src/pkg/pkg.bend as Pkg Lines 298-307 of ezx@1.13.0.0/src/pkg/pkg.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.13.0.0/src/pkg/pkg.bend&start_line=298&end_line=307 import Base # the header walked one line 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 scan.walk(ls: List<&2, String>, st: Head) -> Head: match ls: case []: st case h <> t: scan.walk(t, scan.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.13.0.0/src/pkg/pkg.bend&name=Head https://jend.leeeet.dev/definition.txt?path=ezx@1.13.0.0/src/pkg/pkg.bend&name=scan.step