def infer_total
import bend-prot@0.1.0.0/bonded.bend as Bondedimport Base
import bend-prot@0.1.0.0/protein.bend as P
337def infer_total(+xs: List<&2, P.Atom>) -> List<&1, U32 & U32>:
338 match xs:
339 case Nil{}:
340 Nil{}
341 case +h <> t:
342 append_infer(infer_row(P.Atom.serial(h), P.Atom.pos(h), P.Atom.elem(h), t), infer_total(t))