def vars_of.go
import unified-nsga-iii@0.2.2.0/algorithm.bend as Algorithmimport Base
import unified-nsga-iii@0.2.2.0/individual.bend as Ind
import unified-nsga-iii@0.2.2.0/util.bend as Util
138def vars_of.go(xs: List<&2, Ind.Individual>, acc: List<&2, List<&2, F32>>) -> List<&2, List<&2, F32>>:
139 match xs:
140 case Nil{}:
141 List.reverse(&2, List<&2, F32>, acc)
142 case +ind <> rest:
143 vars_of.go(rest, Util.g12_vec(Ind.variables(ind)) <> acc)