[swift-evolution] Reduce with inout

Jeremy Pereira jeremy.j.pereira at googlemail.com
Thu Jan 19 03:57:38 CST 2017



> On 18 Jan 2017, at 12:45, Georgios Moschovitis <george.moschovitis at icloud.com> wrote:
> 
>> That’s what I thought also until just now, but then why wouldn’t you just use a for …  in loop?
> 
> the former gives a hint about what someFunction (and the for-loop) is doing.


Whereas the latter explicitly lays out what is happening.

> 
> -g.



More information about the swift-evolution mailing list