projects
/
haskell-directory.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2002-05-27 14:31:06 by simonmar]
[haskell-directory.git]
/
GHC
/
Read.lhs
diff --git
a/GHC/Read.lhs
b/GHC/Read.lhs
index
acc7ea2
..
b7b6965
100644
(file)
--- a/
GHC/Read.lhs
+++ b/
GHC/Read.lhs
@@
-120,6
+120,8
@@
readList__ readx
------------------------------------------------------------------------
-- ReadS
------------------------------------------------------------------------
-- ReadS
+-- | A parser for a type @a@, represented as a function that takes a
+-- 'String' and returns a list of possible parses @(a,'String')@ pairs.
type ReadS a = String -> [(a,String)]
------------------------------------------------------------------------
type ReadS a = String -> [(a,String)]
------------------------------------------------------------------------