Pkg.seen.has: def of ezx@1.13.0.0 Import: import ezx@1.13.0.0/src/pkg/pkg.bend as Pkg Lines 496-504 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=496&end_line=504 import Base # whether a name is already among the ones the walk has reached. Base's # `List.contains` applies an erased equality, which falls outside the # termination check; this scan is structural. def seen.has(xs: List<&2, String>, +want: String) -> Bool: match xs: case []: False{} case +h <> t: seen.has.step(String.eq(h, want), _u => seen.has(t, want)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=ezx@1.13.0.0/src/pkg/pkg.bend&name=seen.has.step