def sum_from
import unified-nsga-iii@0.2.2.0/problems.bend as Problemsimport Base
159def sum_from(xs: List<&2, F32>) -> F32:
160 match xs:
161 case Nil{}:
162 0.0
163 case h <> t:
164 F32.add(h, sum_from(t))
import unified-nsga-iii@0.2.2.0/problems.bend as Problemsimport Base
159def sum_from(xs: List<&2, F32>) -> F32:
160 match xs:
161 case Nil{}:
162 0.0
163 case h <> t:
164 F32.add(h, sum_from(t))