Common.distinct: def of bend-lint-pack@0.1.1.0 Import: import bend-lint-pack@0.1.1.0/common.bend as Common Lines 412-417 of bend-lint-pack@0.1.1.0/common.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-pack@0.1.1.0/common.bend&start_line=412&end_line=417 import Base def distinct(names: List<&2, String>, +nodes: Set(), c: Count) -> Count: match names: case Nil{}: c case Con{+x, rest}: distinct(rest, nodes, Count.add(has(nodes, x), x, c)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Set https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bend-lint-pack@0.1.1.0/common.bend&name=Count https://jend.leeeet.dev/definition.txt?path=bend-lint-pack@0.1.1.0/common.bend&name=Count.add https://jend.leeeet.dev/definition.txt?path=bend-lint-pack@0.1.1.0/common.bend&name=has