def dyn_of_atoms

bend-prot@0.1.0.0 · sim.bend:40

import bend-prot@0.1.0.0/sim.bend as Sim
import Base
import bend-prot@0.1.0.0/protein.bend as P

40def dyn_of_atoms(xs: List<&2, P.Atom>) -> List<&2, DynAtom>:
41  match xs:
42    case Nil{}:
43      Nil{}
44    case h <> t:
45      dyn_of_atom(h) <> dyn_of_atoms(t)

Uses (4)

Used by (2)