Hacker News new | ask | show | jobs
by trealira 587 days ago
I hadn't realized that SICP covered using lazy streams for calculating pi. That reminds me of this article I read recently about using lazy lists in Haskell to calculate pi by means of a few different algorithms.

https://www.cs.ox.ac.uk/people/jeremy.gibbons/publications/s...