Hacker News new | ask | show | jobs
by fulafel 1542 days ago
In FP I think composability and interchangeability of these higher order functions help, in case the supplied filter did not work like you want: You could write your own filter function variant that guarantees to return the same list if the predicate function returned true for each element.