[commit: base] master: Remove GHC.Read.readp (9eb9bba)
Ian Lynagh
igloo at earth.li
Sat Oct 27 21:57:20 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/base
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/9eb9bbad5094480dcc99c0800c13c4a19d7c3f6d
>---------------------------------------------------------------
commit 9eb9bbad5094480dcc99c0800c13c4a19d7c3f6d
Author: Ian Lynagh <ian at well-typed.com>
Date: Sat Oct 27 19:31:40 2012 +0100
Remove GHC.Read.readp
It was marked with "XXX Can this be removed?", so let's remove it and
see if anything breaks.
>---------------------------------------------------------------
GHC/Read.lhs | 12 +-----------
1 files changed, 1 insertions(+), 11 deletions(-)
diff --git a/GHC/Read.lhs b/GHC/Read.lhs
index b0869aa..caf6a12 100644
--- a/GHC/Read.lhs
+++ b/GHC/Read.lhs
@@ -41,17 +41,13 @@ module GHC.Read
-- Temporary
, readParen
-
- -- XXX Can this be removed?
- , readp
)
where
import qualified Text.ParserCombinators.ReadP as P
import Text.ParserCombinators.ReadP
- ( ReadP
- , ReadS
+ ( ReadS
, readP_to_S
)
@@ -682,9 +678,3 @@ instance (Read a, Read b, Read c, Read d, Read e, Read f, Read g, Read h,
readList = readListDefault
\end{code}
-\begin{code}
--- XXX Can this be removed?
-
-readp :: Read a => ReadP a
-readp = readPrec_to_P readPrec minPrec
-\end{code}
More information about the Cvs-libraries
mailing list