logoalt Hacker News

mkehrttoday at 4:10 AM0 repliesview on HN

> 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.