Time Resolution

Ashley Yakeley ashley at semantic.org
Mon Jan 31 04:12:33 EST 2005


In article <eg1xc2ovdt.fsf at frynseeik.ii.uib.no>,
 Ketil Malde <ketil+haskell at ii.uib.no> wrote:

> It would be nice if the interface was such that it didn't matter to
> the user.  Couldn't it be an opaque type?  And does the resolution
> have to be standardized?  Standardizing on picoseconds is probably
> safe, but I think it would be better to be able to query about the
> underlying clock resolution, instead of getting a long sequence of
> non-significant digits.

Bear in mind that the time type might be used for time calculations 
unrelated to the system clock. Whether or not we hide the constructor, I 
think its internal resolution and general behaviour ought to be known 
and platform-independent.

-- 
Ashley Yakeley, Seattle WA



More information about the Libraries mailing list