List Comprehension Syntax

Tim Peters tim.peters at
Mon Jul 12 19:45:15 CEST 2004

[littledanehren at]
> I'd like to point out that list comprehensions were invented by people
> who you'd probably put in that genre of academics, namely the creators
> of Haskell.

Na, Haskell's creators adapted them from the older SETL language, who
in turn were inspired by set theory's so-called Axiom of Comprehension
(which is why they're called "comprehensions" to begin with).

Of course that doesn't detract from your point that the OP would class
them as academics <wink>.

More information about the Python-list mailing list