<div dir="ltr"><div>On Fri, May 10, 2013 at 2:08 AM, Greg Ewing <span dir="ltr"><<a href="mailto:greg.ewing@canterbury.ac.nz" target="_blank">greg.ewing@canterbury.ac.nz</a>></span> wrote:<br></div><div class="gmail_extra">
<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">Paul Moore wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Overall, I'm somewhat indifferent. The use case seems fairly specialised to me, and yet the syntax "def name = value" seems like it's worth reserving for something a bit more generally useful.<br>
</blockquote>
<br></div><div class="im"><span style="color:rgb(34,34,34)">Hmmm. Maybe</span><br></div>
<br>
def name = value<br>
<br>
could turn into<br>
<br>
name = value.__def__('name', __name__)<span class=""><font color="#888888"><br>
<br></font></span></blockquote><div><br></div><div><br></div><div>C-esque macros (and perhaps macropy) could implement this and decorators under the same roof. Perhaps we can somehow solve the more general problem without introducing macro kludge?</div>
<div><br></div><div style>Yuval </div></div></div></div>