[project @ 1998-02-03 11:39:00 by simonm]
authorsimonm <unknown>
Tue, 3 Feb 1998 11:39:00 +0000 (11:39 +0000)
committersimonm <unknown>
Tue, 3 Feb 1998 11:39:00 +0000 (11:39 +0000)
missing '('.

ghc/lib/std/PrelBase.lhs

index 3f5bc1d..2d504bc 100644 (file)
@@ -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}