Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
pavlov
· 2mo ago · 0 comments
Maybe those two could be filter_for (the “where” case) and filter_out.
Comments
[–]
listenallyall
2mo ago
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)