def wrap_pair.go

unified-nsga-iii@0.2.2.0 · algorithm.bend:183

import unified-nsga-iii@0.2.2.0/algorithm.bend as Algorithm
import Base

183def wrap_pair.go(+pair: Nat, in_range: Bool, last: Bool) -> Nat:
184  match in_range:
185    case True{}:
186      pair
187    case False{}:
188      wrap_pair.keep(pair, last)

Uses (3)

Used by (1)