Topology.has_close: def of bend-prot@0.1.0.0 Import: import bend-prot@0.1.0.0/topology.bend as Topology Lines 37-42 of bend-prot@0.1.0.0/topology.bend: https://jend.leeeet.dev/read.txt?path=bend-prot@0.1.0.0/topology.bend&start_line=37&end_line=42 import Base import bend-prot@0.1.0.0/geom.bend as G import bend-prot@0.1.0.0/protein.bend as P def has_close(xs: List<&2, P.Atom>, +qp: G.Vec3, +min2: F32) -> Bool: match xs: case Nil{}: False{} case h <> t: Bool.or(has_close(t, qp, min2), head_is_close(h, qp, min2)) Uses (7): 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=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/geom.bend&name=Vec3 https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/protein.bend&name=Atom https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/topology.bend&name=head_is_close