@@ -38,7 +38,11 @@ module Data.Text.Lazy.IO
3838 ) where
3939
4040import Data.Text.Lazy (Text)
41−import Prelude hiding (appendFile, catch, getContents, getLine, interact,
41+import Prelude hiding (appendFile,
42+#if !MIN_VERSION_base(4,6,0)
43+ catch,
44+#endif
45+ getContents, getLine, interact,
4246 putStr, putStrLn, readFile, writeFile)
4347import System.IO (Handle, IOMode(..), hPutChar, openFile, stdin, stdout,
4448 withFile)