|
|
|
|
|
by kthielen
2896 days ago
|
|
I don't mean to be pedantic but IIRC Python's comprehensions actually came from the SETL language. Obviously it's ultimately the same thing either way, but that's the lineage (SETL -> ABC -> Python). https://en.wikipedia.org/wiki/SETL |
|
https://docs.python.org/3/howto/functional.html#generator-ex... claims Python borrowed them from Haskell, but the ABC link seems more likely.