evhub / coconut

Simple, elegant, Pythonic functional programming.
http://coconut-lang.org
Apache License 2.0
4.05k stars 120 forks source link

Add `mapreduce`, improve `collectby` and `process_map`/`thread_map` #793

Closed evhub closed 10 months ago

evhub commented 10 months ago

Could be separate built-ins, an option on the existing collectby, or attributes on collectby.

evhub commented 10 months ago

Maybe while we're at it we should also rename collectby to mapreduce.

evhub commented 10 months ago

Should use the same process/thread pools as process_map and thread_map.