In article <eg1xc2ovdt.fsf@frynseeik.ii.uib.no>,
Ketil Malde <ketil+haskell@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.
I understand what Ashley is saying, but that type of calculation is
very different from a calculation related to the system clock.