Hacker News new | past | comments | ask | show | jobs | submit
Maybe those two could be filter_for (the “where” case) and filter_out.
Kotlin has filter and filterNot (it also has separate "reduce" and "fold" functions, dependingon whether you want to specify an initial accumulator value or not)