From: ross Date: Fri, 1 Aug 2003 09:59:04 +0000 (+0000) Subject: [project @ 2003-08-01 09:59:04 by ross] X-Git-Tag: nhc98-1-18-release~559 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=4a7c209cf03afe756e37efa1aed737e1e56ff735;p=ghc-base.git [project @ 2003-08-01 09:59:04 by ross] tiny doc fix --- diff --git a/Text/ParserCombinators/ReadP.hs b/Text/ParserCombinators/ReadP.hs index c05b983..654eda0 100644 --- a/Text/ParserCombinators/ReadP.hs +++ b/Text/ParserCombinators/ReadP.hs @@ -275,7 +275,7 @@ readP_to_S :: ReadP a -> ReadS a -- ^ Converts a parser into a Haskell ReadS-style function. -- This is the main way in which you can \"run\" a 'ReadP' parser: -- the expanded type is --- @ readP_to_S :: ReadP a -> String -> [(String,String)] @ +-- @ readP_to_S :: ReadP a -> String -> [(a,String)] @ readP_to_S (R f) = run (f return) readS_to_P :: ReadS a -> ReadP a