On Thu, Nov 6, 2008 at 1:19 PM, <[EMAIL PROTECTED]> wrote: > I googled and wiki'ed, but couldn't find a concise clear answer > as to how python "list comprehensions" got their name. > > Who picked the name? What was the direct inspiration, another > language? What language was the first to have such a construct?
According to Wikipedia, the SETL programming language was the first one to have such a construct. My understanding is that Python took the idea from Haskell, where the concept has the same name. The term "comprehension" for the concept was first used in the NPL programming language (Wikipedia again). Cheers, Chris -- Follow the path of the Iguana... http://rebertia.com > > I get that it's based on set notation. > > Thanks! > Mark > > -- > Mark Harrison > Pixar Animation Studios > -- > http://mail.python.org/mailman/listinfo/python-list > -- http://mail.python.org/mailman/listinfo/python-list