Hi,<br><br><div class="gmail_quote">On Fri, May 27, 2011 at 09:51, <span dir="ltr"><<a href="mailto:ok@cs.otago.ac.nz">ok@cs.otago.ac.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Amongst other things,<br>
f(...) -> ...;<br>
-if(...).<br>
f(...) -> ...;<br>
-endif.<br>
f(...) -> ... .<br>
does not work. By stealing an idea from Grandfather Prolog,<br>
we can fix that.<br><br></blockquote><div>I like this idea, even if I would be one of those people affected by it quite a lot :-) </div><div><br></div><div>Tools that handle source code will need to know about this feature, though. An example are refactoring tools: they act on the parsed tree and when regenerating the source code the information about the layout is lost... Another example is IDEs, where if I want to go to the definition of a function, there no longer is a single place for that...</div>
<div><br></div><div>BTW, I think that a parse_transform can be used to transform the code. I suppose that the EEP is more about pushing the idea into the mainstream?</div><div><br></div><div>regards,</div><div>Vlad</div>
<div>
<br></div><div><br></div><div><br></div></div>