<div dir="ltr"><div class="gmail_quote">2008/7/31 Hynek Vychodil <span dir="ltr"><<a href="mailto:vychodil.hynek@gmail.com">vychodil.hynek@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">There is functional difference, between <- and <= is not functional difference.<br>There is not reason why<br>[X || <<X>> <- <<"abc">> ].<br>
should not return same result as<br> > [X || <<X>> <= <<"abc">> ].<br>"abc"<br></div></blockquote><div><br>Hi,<br><br>I might be mistaken here, but I think the issue is that the compiler generates completely different code for each case and when the generator looks like X <- Y, i.e. the right side is not a constant, it has to know which one to produce. The compiler can't guess from the source code, because for example <<X>> <- L is a very normal list generator, one can't assume L is a binary.<br>
<br>best regards,<br>Vlad<br><br></div></div></div>