nkiesel
03/17/2017, 4:02 PMelse part still has to produce some value, no? map will append the return value from the closure to the returned list unconditionally. So I guess I am looking for filteredMap(suppress: Any?, transform: (T) -> R) (similar to how flatMap is a more efficient implementation of .map {...}.flatten()