Block-I/O in Haskell

David Menendez zednenem at
Fri Oct 15 20:31:01 EDT 2004

Tomasz Zielonka writes:

> On Fri, Oct 15, 2004 at 01:15:16AM -0400, David Menendez wrote:
> > I'd go with ratios. Haskell has a built-in type, and they can give
> > you as many digits of precision as you need--unless you're dealing
> > with an irrational timeout value.
> Unfortunately, they have the unpleasant tendency that after many
> operations even if the absolute value is small, the two integers that
> constitute the ratio can be very big. That's why (I think) it's not
> that good idea to solve linear equation systems using unbounded
> ratios.

No argument from me. But the original point had to do with setting a
timeout value that retained microsecond precision after four months.
Pretty much *any* way of doing this amounts to overkill.
David Menendez <zednenem at> <>

More information about the Libraries mailing list