The genuine sieve of eratosthenes

  • Authors:
  • Melissa e. O'neill

  • Affiliations:
  • Harvey mudd college, claremont, ca, u.s.a (e-mail: oneill@acm.org)

  • Venue:
  • Journal of Functional Programming
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

A much beloved and widely used example showing the elegance and simplicity of lazy functional programming represents itself as “The Sieve of Eratosthenes.” This paper shows that this example is not the sieve and presents an implementation that actually is.