Can't you already essentially accomplish the same thing by simply nesting function definitions within another function?<br><div>On Sun Jan 12 2014 at 10:49:10 PM, <<a href="mailto:musicdenotation@gmail.com">musicdenotation@gmail.com</a>> wrote:</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Proposed syntaxes:<br>
> let function(*args,**kwargs):<br>
> ...body...<br>
> function2(...args...):<br>
> ...body...<br>
> in:<br>
> [statements]<br>
<br>
> do:<br>
> [statements]<br>
> where [function declarations in the same form as above]<br>
<br>
Inspired by Haskell and Julia.<br>
<br>
This has the advantage that declared functions aren't binded to names outside their context.<br>
______________________________<u></u>_________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org" target="_blank">Python-ideas@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-ideas" target="_blank">https://mail.python.org/<u></u>mailman/listinfo/python-ideas</a><br>
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" target="_blank">http://python.org/psf/<u></u>codeofconduct/</a><br>
</blockquote>