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:
29c6356
)
[project @ 1999-01-15 15:01:41 by simonm]
author
simonm
<unknown>
Fri, 15 Jan 1999 15:01:41 +0000
(15:01 +0000)
committer
simonm
<unknown>
Fri, 15 Jan 1999 15:01:41 +0000
(15:01 +0000)
#if __HASKELL1__ > 4
import Ratio (numerator, denominator)
#endif
ghc/compiler/basicTypes/Const.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/basicTypes/Const.lhs
b/ghc/compiler/basicTypes/Const.lhs
index
d254cbe
..
0b0a3d8
100644
(file)
--- a/
ghc/compiler/basicTypes/Const.lhs
+++ b/
ghc/compiler/basicTypes/Const.lhs
@@
-36,6
+36,10
@@
import CStrings ( stringToC, charToC, charToEasyHaskell )
import Outputable
import Util ( thenCmp )
+
+#if __HASKELL1__ > 4
+import Ratio (numerator, denominator)
+#endif
\end{code}