on Tue Mar 29 2016, Joe Groff <[email protected]> wrote:

> Yeah, I agree with Jordan, the analogy to `forEach` makes no sense,
> Chris. The standard library is overwhelmingly consistent in forwarding
> return values from its "scope-guard"-like functions which set up a
> thing, call a closure once, clean up the thing, then
> return. `autoreleasepool` is the odd one out.

+1; there's really no good reason to hobble autoreleasepool AFAICS.

-- 
Dave

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to