@@ -276,13 +276,13 @@ windowsNewlineMode = IO.NewlineMode
276276
277277-- Newline and NewlineMode have standard Show instance from GHC 7 onwards
278278#if __GLASGOW_HASKELL__ < 700
279−instance Show Newline where
280− show CRLF = "CRLF"
281− show LF = "LF"
279+instance Show IO.Newline where
280+ show IO.CRLF = "CRLF"
281+ show IO.LF = "LF"
282282
283−instance Show NewlineMode where
284− show (NewlineMode i o) = "NewlineMode { inputNL = " ++ show i ++
285− ", outputNL = " ++ show o ++ " }"
283+instance Show IO.NewlineMode where
284+ show (IO.NewlineMode i o) = "NewlineMode { inputNL = " ++ show i ++
285+ ", outputNL = " ++ show o ++ " }"
286286# endif
287287
288288instance Arbitrary IO.NewlineMode where