Topology.coord_counts: def of bend-prot@0.1.0.0 Import: import bend-prot@0.1.0.0/topology.bend as Topology Lines 153-161 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=153&end_line=161 import Base import bend-prot@0.1.0.0/protein.bend as P # Per-atom neighbor counts: for each x in xs, atoms of ys within dist2 < c2. def coord_counts( xs: List<&2, P.Atom>, +ys: List<&2, P.Atom>, +c2: F32 ) -> List<&2, Nat>: match xs: case Nil{}: Nil{} case h <> t: contacts_of_head(h, ys, c2) <> coord_counts(t, ys, c2) Uses (5): 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=Base/base.bend&name=Nat 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=contacts_of_head