News for hackers. Stuff that matters.
Re:Infinite work is less work by anandology on Thursday July 11, 2019 @08:44PM (#20417191)
Didn't realize I could use `itertools.count`. In fact, it accepts a `start` parameter.

The `take` function is borrowed from Haskell. It feels lot more natural to say/read `take(10, primes())`, than `islice(primes(), 10)`.

There are no comments on this comment yet.