
9 Oct
2004
9 Oct
'04
3:48 p.m.
On Sat, Oct 09, 2004 at 12:33:53PM -0700, William Lee Irwin III wrote:
So, I discovered that simple continued fractions are supposed to be spiffy lazy lists and thought I'd bang out some continued fraction code. But then I discovered ContFrac.hs and couldn't really better it. Of course, I went about trying to actually do things relying on their laziness, and discovered they weren't as lazy as I hoped they'd be. Simple uses of approximations at the ghci command line such as:
On Sat, Oct 09, 2004 at 12:39:44PM -0700, William Lee Irwin III wrote:
Of course, I instantly discover the bug once I publicly embarrass myself. Please disregard.
Gaffe #2, fixing compare didn't actually fix it. Bombs away... -- wli