<!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.Parsec</TITLE ><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css" ><SCRIPT SRC="haddock-util.js" TYPE="text/javascript" ></SCRIPT ><SCRIPT TYPE="text/javascript" >window.onload = function () {setSynopsis("mini_Text-ParserCombinators-Parsec.html")};</SCRIPT ></HEAD ><BODY ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="topbar" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD ><IMG SRC="haskell_icon.gif" WIDTH="16" HEIGHT="16" ALT=" " ></TD ><TD CLASS="title" >parsec-2.1.0.1: Monadic parser combinators</TD ><TD CLASS="topbut" ><A HREF="index.html" >Contents</A ></TD ><TD CLASS="topbut" ><A HREF="doc-index.html" >Index</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="modulebar" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD ><FONT SIZE="6" >Text.ParserCombinators.Parsec</FONT ></TD ><TD ALIGN="right" ><TABLE CLASS="narrow" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="infohead" >Portability</TD ><TD CLASS="infoval" >portable</TD ></TR ><TR ><TD CLASS="infohead" >Stability</TD ><TD CLASS="infoval" >provisional</TD ></TR ><TR ><TD CLASS="infohead" >Maintainer</TD ><TD CLASS="infoval" >daan@cs.uu.nl</TD ></TR ></TABLE ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" >Description</TD ></TR ><TR ><TD CLASS="doc" ><P >Parsec, the Fast Monadic Parser combinator library, see <A HREF="http://www.cs.uu.nl/people/daan/parsec.html" >http://www.cs.uu.nl/people/daan/parsec.html</A >. </P ><P >Inspired by: </P ><UL ><LI > Graham Hutton and Erik Meijer: Monadic Parser Combinators. Technical report NOTTCS-TR-96-4. Department of Computer Science, University of Nottingham, 1996. <A HREF="http://www.cs.nott.ac.uk/~gmh/monparsing.ps" >http://www.cs.nott.ac.uk/~gmh/monparsing.ps</A > </LI ><LI > Andrew Partridge, David Wright: Predictive parser combinators need four values to report errors. Journal of Functional Programming 6(2): 355-364, 1996 </LI ></UL ><P >This helper module exports elements from the basic libraries. </P ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" >Documentation</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" >module <A HREF="Text-ParserCombinators-Parsec-Prim.html" >Text.ParserCombinators.Parsec.Prim</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" >module <A HREF="Text-ParserCombinators-Parsec-Combinator.html" >Text.ParserCombinators.Parsec.Combinator</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" >module <A HREF="Text-ParserCombinators-Parsec-Char.html" >Text.ParserCombinators.Parsec.Char</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A NAME="t:ParseError" ><A NAME="t%3AParseError" ></A ></A ><B >ParseError</B > </TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="section4" ><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:ParseError')" ALT="show/hide" > Instances</TD ></TR ><TR ><TD CLASS="body" ><DIV ID="i:ParseError" STYLE="display:block;" ><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A HREF="../base/Text-Show.html#t%3AShow" >Show</A > <A HREF="Text-ParserCombinators-Parsec.html#t%3AParseError" >ParseError</A ></TD ></TR ></TABLE ></DIV ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:errorPos" ><A NAME="v%3AerrorPos" ></A ></A ><B >errorPos</B > :: <A HREF="Text-ParserCombinators-Parsec.html#t%3AParseError" >ParseError</A > -> <A HREF="Text-ParserCombinators-Parsec.html#t%3ASourcePos" >SourcePos</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A NAME="t:SourcePos" ><A NAME="t%3ASourcePos" ></A ></A ><B >SourcePos</B > </TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="section4" ><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:SourcePos')" ALT="show/hide" > Instances</TD ></TR ><TR ><TD CLASS="body" ><DIV ID="i:SourcePos" STYLE="display:block;" ><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A HREF="../base/Data-Eq.html#t%3AEq" >Eq</A > <A HREF="Text-ParserCombinators-Parsec.html#t%3ASourcePos" >SourcePos</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="../base/Data-Ord.html#t%3AOrd" >Ord</A > <A HREF="Text-ParserCombinators-Parsec.html#t%3ASourcePos" >SourcePos</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="../base/Text-Show.html#t%3AShow" >Show</A > <A HREF="Text-ParserCombinators-Parsec.html#t%3ASourcePos" >SourcePos</A ></TD ></TR ></TABLE ></DIV ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A NAME="t:SourceName" ><A NAME="t%3ASourceName" ></A ></A ><B >SourceName</B > = <A HREF="../base/Data-Char.html#t%3AString" >String</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A NAME="t:Line" ><A NAME="t%3ALine" ></A ></A ><B >Line</B > = <A HREF="../ghc-prim/GHC-Types.html#t%3AInt" >Int</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A NAME="t:Column" ><A NAME="t%3AColumn" ></A ></A ><B >Column</B > = <A HREF="../ghc-prim/GHC-Types.html#t%3AInt" >Int</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:sourceName" ><A NAME="v%3AsourceName" ></A ></A ><B >sourceName</B > :: <A HREF="Text-ParserCombinators-Parsec.html#t%3ASourcePos" >SourcePos</A > -> <A HREF="Text-ParserCombinators-Parsec.html#t%3ASourceName" >SourceName</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:sourceLine" ><A NAME="v%3AsourceLine" ></A ></A ><B >sourceLine</B > :: <A HREF="Text-ParserCombinators-Parsec.html#t%3ASourcePos" >SourcePos</A > -> <A HREF="Text-ParserCombinators-Parsec.html#t%3ALine" >Line</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:sourceColumn" ><A NAME="v%3AsourceColumn" ></A ></A ><B >sourceColumn</B > :: <A HREF="Text-ParserCombinators-Parsec.html#t%3ASourcePos" >SourcePos</A > -> <A HREF="Text-ParserCombinators-Parsec.html#t%3AColumn" >Column</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:incSourceLine" ><A NAME="v%3AincSourceLine" ></A ></A ><B >incSourceLine</B > :: <A HREF="Text-ParserCombinators-Parsec.html#t%3ASourcePos" >SourcePos</A > -> <A HREF="Text-ParserCombinators-Parsec.html#t%3ALine" >Line</A > -> <A HREF="Text-ParserCombinators-Parsec.html#t%3ASourcePos" >SourcePos</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:incSourceColumn" ><A NAME="v%3AincSourceColumn" ></A ></A ><B >incSourceColumn</B > :: <A HREF="Text-ParserCombinators-Parsec.html#t%3ASourcePos" >SourcePos</A > -> <A HREF="Text-ParserCombinators-Parsec.html#t%3AColumn" >Column</A > -> <A HREF="Text-ParserCombinators-Parsec.html#t%3ASourcePos" >SourcePos</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:setSourceLine" ><A NAME="v%3AsetSourceLine" ></A ></A ><B >setSourceLine</B > :: <A HREF="Text-ParserCombinators-Parsec.html#t%3ASourcePos" >SourcePos</A > -> <A HREF="Text-ParserCombinators-Parsec.html#t%3ALine" >Line</A > -> <A HREF="Text-ParserCombinators-Parsec.html#t%3ASourcePos" >SourcePos</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:setSourceColumn" ><A NAME="v%3AsetSourceColumn" ></A ></A ><B >setSourceColumn</B > :: <A HREF="Text-ParserCombinators-Parsec.html#t%3ASourcePos" >SourcePos</A > -> <A HREF="Text-ParserCombinators-Parsec.html#t%3AColumn" >Column</A > -> <A HREF="Text-ParserCombinators-Parsec.html#t%3ASourcePos" >SourcePos</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="decl" ><A NAME="v:setSourceName" ><A NAME="v%3AsetSourceName" ></A ></A ><B >setSourceName</B > :: <A HREF="Text-ParserCombinators-Parsec.html#t%3ASourcePos" >SourcePos</A > -> <A HREF="Text-ParserCombinators-Parsec.html#t%3ASourceName" >SourceName</A > -> <A HREF="Text-ParserCombinators-Parsec.html#t%3ASourcePos" >SourcePos</A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="botbar" >Produced by <A HREF="http://www.haskell.org/haddock/" >Haddock</A > version 2.4.2</TD ></TR ></TABLE ></BODY ></HTML >