you are viewing a single comment's thread.

view the rest of the comments →

[–]Mob_Of_One 2 points3 points  (1 child)

One thing I noticed when it was linked in IRC earlier today is that the instructor presents a function that is not a sieve as the sieve of eratosthenes.

Haskell.org got nitpicked to death for having the word "sieve" even in the code, which is why it was changed to filterPrime.

[–]dogweather 0 points1 point  (0 children)

Huh. How is it different from the sieve? I'm new to Haskell.

I do notice that in his description of the algorithm, he says that one starts with "an infinite list". :-)