Hacker News new | ask | show | jobs
by mkehrt 78 days ago
> You could literally "reduce" and array of integers to a cancellation token, or a state object, or anything else

This is what reduce does, though? It reduces a list to a single thing. It seems like you're thinking of filter.