projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57050fb
)
[project @ 1999-11-25 10:37:12 by simonpj]
author
simonpj
<unknown>
Thu, 25 Nov 1999 10:37:12 +0000
(10:37 +0000)
committer
simonpj
<unknown>
Thu, 25 Nov 1999 10:37:12 +0000
(10:37 +0000)
Add a comment
ghc/lib/std/Time.lhs
patch
|
blob
|
history
diff --git
a/ghc/lib/std/Time.lhs
b/ghc/lib/std/Time.lhs
index
e5cf47d
..
0b8d3c5
100644
(file)
--- a/
ghc/lib/std/Time.lhs
+++ b/
ghc/lib/std/Time.lhs
@@
-83,7
+83,10
@@
external calendar time @CalendarTime@.
-- In fact, I think one of Int32 or Word32 would do. - ADR
data ClockTime = TOD Int64 Int64 deriving (Eq, Ord)
#else
-data ClockTime = TOD Integer Integer deriving (Eq, Ord)
+data ClockTime = TOD Integer -- Seconds since 00:00:00 on 1 Jan 1970
+ Integer -- Picoseconds with the specified second
+ deriving (Eq, Ord)
+
#endif
\end{code}