> Here's a fiddle showing the Sieve of Eratosthenes, displaying each
> prime as it is found.http://jsfiddle.net/skilldrick/vT2mC/1/
Very interesting stuff. Have you found any practical uses for this?
(I'm sure that's not the point, but I'm curious.)
Why use arrays rather than, e.g., {first: val, rest: someFunction} ?
Also I'm not convinced that "car" and "cdr" should ever be ported to
other languages by name!
Thanks for sharing!
-- Scott
--
To view archived discussions from the original JSMentors Mailman list:
http://www.mail-archive.com/[email protected]/
To search via a non-Google archive, visit here:
http://www.mail-archive.com/[email protected]/
To unsubscribe from this group, send email to
[email protected]