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-01-19 11:44:07 by sof]
[ghc-hetmet.git]
/
ghc
/
lib
/
std
/
PrelNum.lhs
diff --git
a/ghc/lib/std/PrelNum.lhs
b/ghc/lib/std/PrelNum.lhs
index
b565a98
..
4f09ebd
100644
(file)
--- a/
ghc/lib/std/PrelNum.lhs
+++ b/
ghc/lib/std/PrelNum.lhs
@@
-339,7
+339,7
@@
their greatest common divisor.
\begin{code}
reduce :: (Integral a) => a -> a -> Ratio a
-reduce _ 0 = error "{Ratio.%}: zero denominator"
+reduce _ 0 = error "Ratio.%: zero denominator"
reduce x y = (x `quot` d) :% (y `quot` d)
where d = gcd x y
\end{code}