def collect_go
import bend-prot@0.1.0.0/pdb.bend as Pdbimport Base
import bend-prot@0.1.0.0/protein.bend as P
350def collect_go(lines: List<&2, String>, st: List<&1, U32 & Nat & P.Atom> & Nat) -> List<&1, U32 & Nat & P.Atom> & Nat:
351 match lines:
352 case Nil{}:
353 collect_finish(st)
354 case h <> t:
355 collect_go(t, collect_extend(parse_atom_line(h), st))