News for hackers. Stuff that matters.
Re:Project Euler by kccqzy on Sunday December 10, 2017 @11:02PM (#15895079)
Well Python got it from Haskell. I thought I made it clear enough.

See https://docs.python.org/3/howto/functional.html

Re:Project Euler by oldandtired on Monday December 11, 2017 @05:16AM (#15896154)
Well years ago, I saw a discussion that put this in the context of python's generators being inspired by what was in Icon.
Re:Project Euler by bunderbunder on Monday December 11, 2017 @08:55AM (#15897012)
I'm just now looking at Icon code for the first time, but, to me, Python's list comprehension syntax looks more similar to Haskell's than Icon's.