Protein.Chain.num_residues: def of bend-prot@0.1.0.0 Import: import bend-prot@0.1.0.0/protein.bend as Protein Lines 98-101 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=98&end_line=101 import Base def Chain.num_residues(c: Chain) -> Nat: match c: case Chain{cid, residues}: count_residues(residues) Uses (3): 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=Chain https://jend.leeeet.dev/definition.txt?path=bend-prot@0.1.0.0/protein.bend&name=count_residues