projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
64ee687
)
[project @ 2003-04-08 16:14:29 by simonpj]
author
simonpj
<unknown>
Tue, 8 Apr 2003 16:14:29 +0000
(16:14 +0000)
committer
simonpj
<unknown>
Tue, 8 Apr 2003 16:14:29 +0000
(16:14 +0000)
add fixity for +++, <++
Text/ParserCombinators/ReadP.hs
patch
|
blob
|
history
diff --git
a/Text/ParserCombinators/ReadP.hs
b/Text/ParserCombinators/ReadP.hs
index
145dfe2
..
7b64185
100644
(file)
--- a/
Text/ParserCombinators/ReadP.hs
+++ b/
Text/ParserCombinators/ReadP.hs
@@
-49,6
+49,8
@@
import Control.Monad( MonadPlus(..) )
import GHC.Show( isSpace )
import GHC.Base
import GHC.Show( isSpace )
import GHC.Base
+infixr 5 +++, <++
+
-- We define a local version of ReadS here,
-- because its "real" definition site is in GHC.Read
type ReadS a = String -> [(a,String)]
-- We define a local version of ReadS here,
-- because its "real" definition site is in GHC.Read
type ReadS a = String -> [(a,String)]