def append_residues
import bend-prot@0.1.0.0/protein.bend as Proteinimport Base
161def append_residues(
162 xs: List<&2, Residue>, ys: List<&2, Residue>
163) -> List<&2, Residue>:
164 match xs:
165 case Nil{}:
166 ys
167 case h <> t:
168 h <> append_residues(t, ys)