4 ms·
This feature is of course lifted from Haskell - another jaw dropping language.
by swannodette 16y ago
This feature is of course lifted from Haskell - another jaw dropping language.
- stevelosh 16y agoYep. Python has a wonderful habit of taking the awesome features of other languages and expanding on them. List comprehensions were added in 2.0, generator comprehensions were added in 2.4, and dictionary comprehensions came in 2.7
- nickbarnwell 16y agoJust found a reason to upgrade to 2.7...
- stralep 16y ago"Haskell is a scripting language inspired by Python." :) http://www.haskell.org/pipermail/haskell-cafe/2010-November/085925.html http://www.haskell.org/pipermail/haskell-cafe/2010-November/... (joke)