Thu, 2 Dec 1999 06:15:19 -0800, Simon Peyton-Jones <[EMAIL PROTECTED]> pisze:

> Indeed.  But it is true to say that Select.select's timeout
> parameter could usefully be generalised to either an Integer or
> a TimeVal (i.e. (sec,usec) pair).  Since this library isn't
> an H98 standard, it might be worth just doing this, no?

I vote for Integer as opposed to (sec,usec). I guess that C uses two
longs because it did not have a longer type, but we do have a longer
type, so why not use it? I really can't think about a reason to use
(sec,usec)...

(Some TimeDiff would be yet better, after it is redesigned.)

-- 
 __("<    Marcin Kowalczyk * [EMAIL PROTECTED] http://qrczak.ids.net.pl/
 \__/          GCS/M d- s+:-- a22 C+++>+++$ UL++>++++$ P+++ L++>++++$ E-
  ^^                W++ N+++ o? K? w(---) O? M- V? PS-- PE++ Y? PGP->+ t
QRCZAK                  5? X- R tv-- b+>++ DI D- G+ e>++++ h! r--%>++ y-

Reply via email to