(Wangle) Chaining reduce
Summary:
Oh, this is best of both worlds:
D2015316
If your reduce is really cheap, just use `collect/CollectAll->reduce`.
Otherwise just use `reduce`. Great?
This one doesn't support returning Futures from `func`, but if you want
to do that, just use `reduce`.
Test Plan: Run all the tests.
Reviewed By: hans@fb.com
Subscribers: folly-diffs@, jsedgwick, yfeldblum, chalfant
FB internal diff:
D2017238
Tasks:
6025252
Signature: t1:
2017238:
1430422971:
c3471afa53239681f835624becf3c4a238204b70