<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">To be fair, I would want to see the outcome of the `typed throws` discussion first before moving the discussion about `Result` forward.&nbsp;</div> <br> <div id="bloop_sign_1509707628728536064" class="bloop_sign"></div> <br><p class="airmail_on">Am 3. November 2017 um 04:41:32, Chris Lattner via swift-evolution (<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>) schrieb:</p> <blockquote type="cite" class="clean_bq"><span><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div></div><div>



<title></title>


<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Nov 2, 2017, at 11:08 AM, Jon Shier via
swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<div class="">

<div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Swift-Evolution:
<div class="">I’ve written a first draft of a proposal to add
Result&lt;T&gt; to the standard library by directly porting the
Result&lt;T&gt; type used in Alamofire to the standard library. I’d
be happy to implement it (type and tests for free!) if someone
could point me to the right place to do so. I’m not including it
directly in this email, since it includes the full implementation
and is therefore quite long. (Discourse, please!)&nbsp;</div>
<div class=""><br class=""></div>
<div class=""><a href="https://github.com/jshier/swift-evolution/blob/master/proposals/0187-add-result-to-the-standard-library.md" class="">https://github.com/jshier/swift-evolution/blob/master/proposals/0187-add-result-to-the-standard-library.md</a></div>
</div>
</div>
</blockquote>
<br class=""></div>
<div>I’m generally supportive of this, but the design of such a
thing forces another contentious issue: whether the error handling
model should be extended to support "typed throws”. &nbsp;Without
result, we can carry on pushing the "typed throws” debate down the
road. &nbsp;Adding it would force that issue to be decided, which
is complicated.</div>
<div><br class=""></div>
<div>-Chris</div>
<div><br class=""></div>
<br class="">


_______________________________________________<br>swift-evolution mailing list<br>swift-evolution@swift.org<br>https://lists.swift.org/mailman/listinfo/swift-evolution<br></div></div></span></blockquote></body></html>