[swift-evolution] SE-0171: Reduce with inout

David Sweeris davesweeris at mac.com
Fri Apr 14 21:05:37 CDT 2017


> On Apr 14, 2017, at 15:33, Matthew Johnson via swift-evolution <swift-evolution at swift.org> wrote:
> 
> 
>>    • What is your evaluation of the proposal?
> 
> +0.5 because this is a half solution.  I would also like to see a variant which accepts an inout argument for the reduction to accumulate into.

Out of curiosity, do you have any particular use case in mind, or do you just think that'd nicely "round out" the reduce functions (which would be fine with me).

- Dave Sweeris 


More information about the swift-evolution mailing list