def append_atoms

bend-prot@0.1.0.0 · protein.bend:103

import bend-prot@0.1.0.0/protein.bend as Protein
import Base

103def append_atoms(xs: List<&2, Atom>, ys: List<&2, Atom>) -> List<&2, Atom>:
104  match xs:
105    case Nil{}:
106      ys
107    case h <> t:
108      h <> append_atoms(t, ys)

Uses (2)

Used by (5)