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:
d689123
)
[project @ 1998-02-03 11:39:00 by simonm]
author
simonm
<unknown>
Tue, 3 Feb 1998 11:39:00 +0000
(11:39 +0000)
committer
simonm
<unknown>
Tue, 3 Feb 1998 11:39:00 +0000
(11:39 +0000)
missing '('.
ghc/lib/std/PrelBase.lhs
patch
|
blob
|
history
diff --git
a/ghc/lib/std/PrelBase.lhs
b/ghc/lib/std/PrelBase.lhs
index
3f5bc1d
..
2d504bc
100644
(file)
--- a/
ghc/lib/std/PrelBase.lhs
+++ b/
ghc/lib/std/PrelBase.lhs
@@
-791,7
+791,7
@@
intToDigit :: Int -> Char
intToDigit i
| i >= 0 && i <= 9 = toEnum (fromEnum '0' + i)
| i >= 10 && i <= 15 = toEnum (fromEnum 'a' + i -10)
- | otherwise = error "Char.intToDigit: not a digit" ++ show i)
+ | otherwise = error ("Char.intToDigit: not a digit" ++ show i)
\end{code}