http://qs321.pair.com?node_id=1214617


in reply to Re: Sieve of Eratosthenes with closures
in thread Sieve of Eratosthenes with closures

Just for fun (not particularly useful because it's slow): here is a SoE implementation in SQL (postgres). (I didn't compare with the above; it's undoubtedly (very) much slower)