4 ms·
I didn't know about SETL, that's interesting. https://docs.python.org/3/howto/functional.html#generator-expressions-and-list-comprehensions https://docs.python
by duckerude 8y ago
I didn't know about SETL, that's interesting.
https://docs.python.org/3/howto/functional.html#generator-expressions-and-list-comprehensions https://docs.python.org/3/howto/functional.html#generator-ex... claims Python borrowed them from Haskell, but the ABC link seems more likely.
- zephyrfalcon 8y agoABC didn't have list comprehensions though, in spite of being influenced by SETL. As I recall, Python did get them from Haskell, which in turn got them from Miranda, which got them from KRC. Before that it gets fuzzy, but it's likely that SETL was eventually at the root of it.