projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 1999-07-14 08:37:57 by simonmar]
[ghc-hetmet.git]
/
ghc
/
lib
/
std
/
PrelNumExtra.lhs
diff --git
a/ghc/lib/std/PrelNumExtra.lhs
b/ghc/lib/std/PrelNumExtra.lhs
index
b6a76eb
..
9e870c0
100644
(file)
--- a/
ghc/lib/std/PrelNumExtra.lhs
+++ b/
ghc/lib/std/PrelNumExtra.lhs
@@
-569,7
+569,11
@@
prR n r e0
s@(h:t) = show ((round (r * 10^n))::Integer)
e = e0+1
+#ifdef USE_REPORT_PRELUDE
+ takeN n ls rs = take n ls ++ rs
+#else
takeN (I# n#) ls rs = takeUInt_append n# ls rs
+#endif
drop0 :: String -> String -> String
drop0 [] rs = rs