From 4a7c209cf03afe756e37efa1aed737e1e56ff735 Mon Sep 17 00:00:00 2001 From: ross Date: Fri, 1 Aug 2003 09:59:04 +0000 Subject: [PATCH] [project @ 2003-08-01 09:59:04 by ross] tiny doc fix --- Text/ParserCombinators/ReadP.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4