Protein.count_atoms_in: def of bend-prot@0.1.0.0 Import: import bend-prot@0.1.0.0/protein.bend as Protein Lines 127-132 of bend-prot@0.1.0.0/protein.bend: https://jend.leeeet.dev/read.txt?path=bend-prot@0.1.0.0/protein.bend&start_line=127&end_line=132 import Base def count_atoms_in(xs: List<&2, Residue>) -> Nat: match xs: case Nil{}: 0n case h <> t: Nat.add(count_atoms_in(t), atoms_of(h)) Uses (5): 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=Base/base.bend&name=Nat.add https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/protein.bend&name=Residue https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/protein.bend&name=atoms_of