On 16 February 2011 09:19, Tako Schotanus <t...@codejive.org> wrote:

> I wondered if there was a way for a guard in a list comprehension to refer
> to the item being produced?
>


> I'm just wondering about this very specific case
>

Then, the answer is no.

As others have noted, let binding is the way to go.

Ozgur
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to