projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2003-07-30 08:13:16 by ralf]
[ghc-base.git]
/
Text
/
ParserCombinators
/
ReadP.hs
diff --git
a/Text/ParserCombinators/ReadP.hs
b/Text/ParserCombinators/ReadP.hs
index
f478230
..
c05b983
100644
(file)
--- a/
Text/ParserCombinators/ReadP.hs
+++ b/
Text/ParserCombinators/ReadP.hs
@@
-120,12
+120,7
@@
instance MonadPlus P where
-- ---------------------------------------------------------------------------
-- The ReadP type
-- ---------------------------------------------------------------------------
-- The ReadP type
--- newtype temporarily turned into data
--- until compiler bug as found on 26 July 2003 is fixed;
--- contact SPJ or ralf@cwi.nl
---
-data ReadP a = R (forall b . (a -> P b) -> P b)
--- newtype ReadP a = R (forall b . (a -> P b) -> P b)
+newtype ReadP a = R (forall b . (a -> P b) -> P b)
-- Functor, Monad, MonadPlus
-- Functor, Monad, MonadPlus