[project @ 2002-07-16 15:47:25 by ross]
[haskell-directory.git] / Text / Read.hs
index bf70920..c2fc39b 100644 (file)
@@ -28,12 +28,14 @@ module Text.Read (
    readParen,          -- :: Bool -> ReadS a -> ReadS a
    lex,                        -- :: ReadS String
 
+#ifdef __GLASGOW_HASKELL__
    -- * New parsing functions
    module Text.ParserCombinators.ReadPrec,
    L.Lexeme(..),       
    lexP,               -- :: ReadPrec Lexeme
    readListDefault,    -- :: Read a => ReadS [a]
    readListPrecDefault,        -- :: Read a => ReadPrec [a]
+#endif
 
  ) where