Util.keep_if: def of unified-nsga-iii@0.2.2.0 Import: import unified-nsga-iii@0.2.2.0/util.bend as Util Lines 73-78 of unified-nsga-iii@0.2.2.0/util.bend: https://jend.leeeet.dev/read.txt?path=unified-nsga-iii@0.2.2.0/util.bend&start_line=73&end_line=78 import Base def keep_if(-A: Data, +h: A, rest: List<&2, A>, keep: Bool) -> List<&2, A>: match keep: case True{}: h <> rest case False{}: rest Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List