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]’.
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]’.