Mark Buikema
10/03/2019, 12:56 PMfilter()
, except it returns a list of the filtered items and a list of the unfiltered items? I need both listsBob Glamm
10/03/2019, 12:57 PMpartition()
Mark Buikema
10/03/2019, 12:59 PMStephan Schroeder
10/03/2019, 3:45 PMmap{Pair(it, filter(it))}
(where filter is a method you define, not the one on Iterable
)