Hello!

On Wed, Dec 01, 1999 at 03:59:44PM -0800, Sigbjorn Finne wrote:

> I don't see a good reason why hSelect couldn't be changed to take
> a TimeVal, as you suggest:

>    data TimeVal 
>      = TimeVal { tv_sec  :: Int
>                , tv_usec :: Int
>                }

> I would either rely on the fact that the rep. of ClockTime is
> exposed or write my own gettimeofday() (or equiv) wrapper.

Then, it should take a Maybe TimeVal as parameter (Nothing matching
the NULL pointer in C, which is completely different from any
other TimeVal value).

Or perhaps just Maybe Integer {- in microseconds -}?

> [...]

Regards, Hannah.

Reply via email to