<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--Rendered using the Haskell Html Library v0.2--> <HTML ><HEAD ><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" ><TITLE >Text.ParserCombinators.ReadP</TITLE ><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css" ><SCRIPT SRC="haddock-util.js" TYPE="text/javascript" ></SCRIPT ></HEAD ><BODY ><DIV CLASS="outer" ><DIV CLASS="mini-topbar" >Text.ParserCombinators.ReadP</DIV ><DIV CLASS="mini-synopsis" ><H1 >The <TT ><A HREF="Text-ParserCombinators-ReadP.html#t%3AReadP" >ReadP</A ></TT > type </H1 > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="Text-ParserCombinators-ReadP.html#t%3AReadP" TARGET="main" >ReadP</A > a</DIV > <H1 >Primitive operations </H1 > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3Aget" TARGET="main" >get</A ></DIV > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3Alook" TARGET="main" >look</A ></DIV > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3A%2B%2B%2B" TARGET="main" >(+++)</A ></DIV > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3A%3C%2B%2B" TARGET="main" >(<++)</A ></DIV > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3Agather" TARGET="main" >gather</A ></DIV > <H1 >Other operations </H1 > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3Apfail" TARGET="main" >pfail</A ></DIV > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3Asatisfy" TARGET="main" >satisfy</A ></DIV > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3Achar" TARGET="main" >char</A ></DIV > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3Astring" TARGET="main" >string</A ></DIV > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3Amunch" TARGET="main" >munch</A ></DIV > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3Amunch1" TARGET="main" >munch1</A ></DIV > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3AskipSpaces" TARGET="main" >skipSpaces</A ></DIV > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3Achoice" TARGET="main" >choice</A ></DIV > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3Acount" TARGET="main" >count</A ></DIV > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3Abetween" TARGET="main" >between</A ></DIV > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3Aoption" TARGET="main" >option</A ></DIV > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3Aoptional" TARGET="main" >optional</A ></DIV > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3Amany" TARGET="main" >many</A ></DIV > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3Amany1" TARGET="main" >many1</A ></DIV > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3AskipMany" TARGET="main" >skipMany</A ></DIV > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3AskipMany1" TARGET="main" >skipMany1</A ></DIV > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3AsepBy" TARGET="main" >sepBy</A ></DIV > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3AsepBy1" TARGET="main" >sepBy1</A ></DIV > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3AendBy" TARGET="main" >endBy</A ></DIV > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3AendBy1" TARGET="main" >endBy1</A ></DIV > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3Achainr" TARGET="main" >chainr</A ></DIV > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3Achainl" TARGET="main" >chainl</A ></DIV > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3Achainl1" TARGET="main" >chainl1</A ></DIV > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3Achainr1" TARGET="main" >chainr1</A ></DIV > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3AmanyTill" TARGET="main" >manyTill</A ></DIV > <H1 >Running a parser </H1 > <DIV CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A HREF="Text-ParserCombinators-ReadP.html#t%3AReadS" TARGET="main" >ReadS</A > a</DIV > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3AreadP_to_S" TARGET="main" >readP_to_S</A ></DIV > <DIV CLASS="decl" ><A HREF="Text-ParserCombinators-ReadP.html#v%3AreadS_to_P" TARGET="main" >readS_to_P</A ></DIV > <H1 >Properties </H1 > </DIV ></DIV ></BODY ></HTML >