def collect_go

bend-prot@0.1.0.0 · pdb.bend:350

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

Uses (9)

Used by (1)