In article <[EMAIL PROTECTED]>, Jacek Generowicz <[EMAIL PROTECTED]> wrote: > Donn Cave <[EMAIL PROTECTED]> writes: > > > List incomprehensions do not parse well in my eyes. > > Are you familiar with the Haskell syntax for list comprehensions? > > For example: > > http://www.zvon.org/other/haskell/Outputsyntax/listQcomprehension_reference.h
I haven't used it more than once or twice in the modest amount of Haskell code I've written, but I've seen it a few times. > Does their striking similarity to mathematical set notation help at > all ? Not a bit. If it's any more obvious than the Python version, I suppose it's the | -- my parser sees [a|b] on the first pass. But it isn't like I ever made any real effort to get comfortable with Python list comprehensions. I was just relaying my (lack of) intuitive grasp of them, compared to map and lambda. Donn Cave, [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list