[project @ 1999-10-18 11:49:47 by sof]
authorsof <unknown>
Mon, 18 Oct 1999 11:49:47 +0000 (11:49 +0000)
committersof <unknown>
Mon, 18 Oct 1999 11:49:47 +0000 (11:49 +0000)
commitf083bb77387d45ca64bc530f60160aee39589a2a
tree9fa1cee9620212cc62ea0ba3343f91d6e69d200f
parentf021fc6f0027142f5fb1bdb725a86ded8008c5e7
[project @ 1999-10-18 11:49:47 by sof]
* Time.CalendarTime.ctMonth's type should be Month (was Int.)
* fixed Time.addToClockTime - the original implementation was
  completely wrong (thanks to George Russell for indirectly
  reporting the bug.)
* Added the non-std Time.noTimeDiff, handy when you want to do
  calendar calculations, e.g.,

            ct <- getClockTime
            print (toUTCTime (addToClockTime noTimeDiff{tdMonth=1} ct))

* many 'foreign import' decls were not marked as unsafe, even though they
  were passing out MutableByteArray and ByteArray vals. Fixed.
ghc/lib/std/CPUTime.lhs
ghc/lib/std/Time.lhs