<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Yes, please file a PR. <br><br>Sent from my iPhone</div><div><br>On Mar 17, 2016, at 5:05 PM, Chris Lattner <<a href="mailto:clattner@apple.com">clattner@apple.com</a>> wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html charset=utf-8">Sure, I’m ok with that if that is what Doug prefers.<div class=""><br class=""></div><div class="">-Chris</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 17, 2016, at 4:54 PM, Nicholas Maccharoli <<a href="mailto:nmaccharoli@gmail.com" class="">nmaccharoli@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">Thank you for the feedback!<div class=""><br class=""></div><div class="">I checked SE-0003 again and didnt see explicit mention of this.</div><div class=""><br class=""></div><div class="">I would like to write up a quick proposal today if its ok.</div><div class=""><br class=""></div><div class="">Chris, I promise to make it very concise is it ok to send over a PR to swift evolution?</div><div class=""><br class=""></div><div class="">- Nick<span class=""></span><br class=""><br class="">2016年3月18日金曜日、Chris Lattner<<a href="mailto:clattner@apple.com" class="">clattner@apple.com</a>>さんは書きました:<br class=""><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=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Mar 17, 2016, at 11:08 AM, Douglas Gregor via swift-evolution <<a href="javascript:_e(%7B%7D,'cvml','swift-evolution@swift.org');" target="_blank" class="">swift-evolution@swift.org</a>> wrote:</div><br class=""><div class=""><div style="word-wrap:break-word" class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Mar 17, 2016, at 1:27 AM, Nicholas Maccharoli via swift-evolution <<a href="javascript:_e(%7B%7D,'cvml','swift-evolution@swift.org');" target="_blank" class="">swift-evolution@swift.org</a>> wrote:</div><br class=""><div class=""><div dir="ltr" class=""><div class=""><div class="gmail_default" style="font-family:'comic sans ms',sans-serif;color:rgb(39,78,19)">As a follow-up to proposal SE-0003: "Removing var from Function Parameters" being accepted,</div><div class="gmail_default" style="font-family:'comic sans ms',sans-serif;color:rgb(39,78,19)">I think it might make sense to disallow explicitly declaring function parameters with the `let` keyword since function parameters are immutable by default.</div><div class="gmail_default" style="font-family:'comic sans ms',sans-serif;color:rgb(39,78,19)"><br class=""></div><div class="gmail_default" style="font-family:'comic sans ms',sans-serif;color:rgb(39,78,19)">Basically disallow writing functions like this:</div><div class="gmail_default" style="font-family:'comic sans ms',sans-serif;color:rgb(39,78,19)"><br class=""></div><div class="gmail_default" style="font-family:'comic sans ms',sans-serif;color:rgb(39,78,19)">func foo(let i: Int) { ... }</div><br class=""></div><div class=""><div class="gmail_default" style="font-family:'comic sans ms',sans-serif;color:rgb(39,78,19)">and only allow the function above to be expressed as this:</div><div class="gmail_default" style="font-family:'comic sans ms',sans-serif;color:rgb(39,78,19)"><br class=""></div><div class="gmail_default" style="font-family:'comic sans ms',sans-serif;color:rgb(39,78,19)">func foo(i: Int) { … }</div></div></div></div></blockquote><br class=""></div><div class="">This makes perfect sense to me. Want to write up a proposal?</div></div></div></blockquote><br class=""></div><div class="">The intention was for this to be included as part of SE-0003. If it wasn’t, then that was an accidental omission. Do we really need a full proposal for that?</div><div class=""><br class=""></div><div class="">-Chris</div><br class=""></div></blockquote></div><br class=""><br class="">-- <br class=""><div dir="ltr" class=""><br class=""><div class="">All the best,</div><div class=""><br class=""></div><div class="">Nicholas</div><div class=""><br class=""></div><div class="">Linked in:</div><div class=""><font size="2" class=""><a href="http://lnkd.in/328U22" target="_blank" class="">http://lnkd.in/328U22</a></font><br class=""></div><div class=""><br class=""></div></div><br class="">
</div></blockquote></div><br class=""></div></div></blockquote></body></html>