Comment by jdougan
11 hours ago
Smalltalk has #reject: which does that. You could, of course, just wrap a not around the test in the closure, but sometimes reject with a well-named predicate is easier to read.
bsnpApproved := tvShows reject: [ :eachShow | eachShow hasNaughtyContent ].
No comments yet
Contribute on Hacker News ↗