def write_chains

bend-prot@0.1.0.0 · pdb.bend:605

import bend-prot@0.1.0.0/pdb.bend as Pdb
import Base
import bend-prot@0.1.0.0/protein.bend as P

605def write_chains(cs: List<&2, P.Chain>) -> List<&2, String>:
606  match cs:
607    case Nil{}:
608      Nil{}
609    case h <> t:
610      append_lines(write_chain(h), write_chains(t))

Uses (5)

Used by (1)