Cli.sub_collision: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 1808-1817 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=1808&end_line=1817 import Base def sub_collision(seen: List<&2, Seen>, +name: String) -> Bool: match seen: case Nil{}: False{} case SeenSub{old} <> tail: Bool.or(same_text(name, old), sub_collision(tail, name)) case SeenSubAlias{old} <> tail: Bool.or(same_text(name, old), sub_collision(tail, name)) case head <> tail: sub_collision(tail, name) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.or 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=cli@0.2.0.0/cli.bend&name=Seen https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=same_text