logoalt Hacker News

listenallyalltoday at 3:50 AM0 repliesview on HN

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)