List Comprehension Syntax

Tim Peters tim.peters at gmail.com
Mon Jul 12 13:45:15 EDT 2004


[littledanehren at yahoo.com]
> 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