def append_residues

bend-prot@0.1.0.0 · protein.bend:161

import bend-prot@0.1.0.0/protein.bend as Protein
import 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)

Uses (2)

Used by (2)