<div class="gmail_quote">On 16 February 2011 09:19, Tako Schotanus <span dir="ltr">&lt;<a href="mailto:tako@codejive.org">tako@codejive.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>I wondered if there was a way for a guard in a list comprehension to refer to the item being produced?</div></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>I&#39;m just wondering about this very specific case</div></blockquote><div><br></div><div>Then, the answer is no.</div><div><br></div><div>As others have noted, let binding is the way to go. </div></div><br>
<div>Ozgur</div>