def to_dirs

unified-nsga-iii@0.2.2.0 · reference_directions.bend:44

import unified-nsga-iii@0.2.2.0/reference_directions.bend as ReferenceDirections
import Base

44def to_dirs(+p: Nat, rows: List<&2, List<&2, Nat>>) -> List<&2, List<&2, F32>>:
45  match rows:
46    case Nil{}:
47      Nil{}
48    case row <> rest:
49      to_dir(p, row) <> to_dirs(p, rest)

Uses (4)

Used by (1)