NEW 246140
[WTF] Implement "reduce" function on WTF::Vector
https://bugs.webkit.org/show_bug.cgi?id=246140
Summary [WTF] Implement "reduce" function on WTF::Vector
Matthieu Dubet
Reported 2022-10-06 02:15:59 PDT
WTF::Vector already has a "map" implementation, we should also have a "reduce" (="accumulate",="fold") operation. https://en.wikipedia.org/wiki/Fold_(higher-order_function)
Attachments
Matthieu Dubet
Comment 1 2022-10-06 02:41:22 PDT
Radar WebKit Bug Importer
Comment 2 2022-10-13 02:16:16 PDT
Note You need to log in before you can comment on or make changes to this bug.