LS,
here is a puzzle for you: try converting a
System.Posix.Types.EpochTime into either a
System.Time.CalendarTime or a Data.Time.Clock.UTCTime without going
through
read . show or a similar detour through strings.
The problem comes up when trying to easily nicely display the access,
modification
or status change times of a full directory of files, using
System.Posix.Files.Filestatus
to get at the times.
A closely related issue: fromIntegral is in Integral which also
requires quotRem. However,
the two are semantically quite disjoint. I can *easily* see the
semantics of fromIntegral
on EpochTime, but not the semantics of quotRem on EpochTime. Having
fromIntegral
would solve the above puzzle... :)
With kind regards, Arthur.
--
/\ / | arthurvl at cs.uu.nl | Work like you don't need
the money
/__\ / | A friend is someone with whom | Love like you have never
been hurt
/ \/__ | you can dare to be yourself | Dance like there's nobody
watching