[swift-evolution] [Review] SE-0061: Add Generic Result and Error Handling to autoreleasepool()

Jacob Bandes-Storch jtbandes at gmail.com
Fri Apr 22 13:48:11 CDT 2016

>         * What is your evaluation of the proposal?

+1. I believe "pass-through" functions such as autoreleasepool,
withExtendedLifetime/withUnsafePointer, dispatch_sync, etc. should all have
a generic-result/rethrowing signature.

>         * Is the problem being addressed significant enough to warrant a
>           change to Swift?

Workarounds were doable, but clunky.

>         * Does this proposal fit well with the feel and direction of
>           Swift?

Seems so.

>         * If you have you used other languages or libraries with a
>           similar feature, how do you feel that this proposal compares
>           to those?


>         * How much effort did you put into your review? A glance, a
>           quick reading, or an in-depth study?

Quick reading of the proposal, because the implementation is very simple,
and I've implemented similar utility functions before.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160422/7ebe422c/attachment.html>

More information about the swift-evolution mailing list