<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I don’t think this is a good idea to make discardable part of the function type.<div class=""><br class=""></div><div class="">What would fun(callback: () -> discardable Int) would means ? </div><div class=""><br class=""><div>And allowing it in signature but not in lambda would be confusing.</div><div><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class="">Le 12 oct. 2017 à 15:32, Mike Kluev via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> a écrit :</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">On 12 October 2017 at 14:14, David James <span dir="ltr" class=""><<a href="mailto:davidbjames1@gmail.com" target="_blank" class="">davidbjames1@gmail.com</a>></span> wrote:<div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">True, and it was making the method signature too long. But at least I have the option to do that. If we move the annotation to just before the return type, then we have no choice.</div></blockquote><div class=""><br class=""></div><div class="">you can still put it on the next line along with the result :)</div><div class=""><br class=""></div><div class="">imho, this shall not be a decision maker nowadays (20 years ago it would).</div><div class=""><br class=""></div></div>Mike</div><div class="gmail_extra"><br class=""></div></div>
_______________________________________________<br class="">swift-evolution mailing list<br class=""><a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-evolution<br class=""></div></blockquote></div><br class=""></div></body></html>