Effective Haskell: p97 P1.0 Error message is not correct

In the code sample at the top of the page, the error message No instance for (Data.String.IsString Int) is not correct and should be the same as the one seen in the main text which is Couldn’t match expected type ‘Int’ with actual type ‘[Char]’.