[swift-evolution] Update the signature of ObjectiveC.autoreleasepool [SR-842]
xenadu at gmail.com
Tue Mar 29 22:37:53 CDT 2016
> On Mar 29, 2016, at 10:02 AM, Joe Groff via swift-evolution <swift-evolution at swift.org> 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.
One might go so far as to say that if/do/case/etc are the odd ducks in not being expressionized. ;)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution