<!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 >Data.ConfigFile</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" >Data.ConfigFile</DIV ><DIV CLASS="mini-synopsis" ><H1 >Introduction </H1 > <H2 >Features </H2 > <H2 >History </H2 > <H1 >Configuration File Format </H1 > <H2 >White Space </H2 > <H2 >Comments </H2 > <H2 >Case Sensitivity </H2 > <H2 >Interpolation </H2 > <H1 >Usage Examples </H1 > <H2 >Non-Monadic Usage </H2 > <H2 >Error Monad Usage </H2 > <H2 >Combined Error/IO Monad Usage </H2 > <H1 >Types </H1 > <DIV CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A HREF="Data-ConfigFile.html#t%3ASectionSpec" TARGET="main" >SectionSpec</A > </DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A HREF="Data-ConfigFile.html#t%3AOptionSpec" TARGET="main" >OptionSpec</A > </DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="Data-ConfigFile.html#t%3AConfigParser" TARGET="main" >ConfigParser</A > </DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="Data-ConfigFile.html#t%3ACPErrorData" TARGET="main" >CPErrorData</A > </DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A HREF="Data-ConfigFile.html#t%3ACPError" TARGET="main" >CPError</A > </DIV > <H1 >Initialization </H1 > <DIV CLASS="decl" ><A HREF="Data-ConfigFile.html#v%3AemptyCP" TARGET="main" >emptyCP</A ></DIV > <H1 >Configuring the ConfigParser </H1 > <H2 >Access Functions </H2 > <DIV CLASS="decl" ><A HREF="Data-ConfigFile.html#v%3AsimpleAccess" TARGET="main" >simpleAccess</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-ConfigFile.html#v%3AinterpolatingAccess" TARGET="main" >interpolatingAccess</A ></DIV > <H1 >Reading </H1 > <DIV CLASS="decl" ><A HREF="Data-ConfigFile.html#v%3Areadfile" TARGET="main" >readfile</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-ConfigFile.html#v%3Areadhandle" TARGET="main" >readhandle</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-ConfigFile.html#v%3Areadstring" TARGET="main" >readstring</A ></DIV > <H1 >Accessing Data </H1 > <DIV CLASS="decl" ><SPAN CLASS="keyword" >class</SPAN > <A HREF="Data-ConfigFile.html#t%3AGet_C" TARGET="main" >Get_C</A > a</DIV > <DIV CLASS="decl" ><A HREF="Data-ConfigFile.html#v%3Asections" TARGET="main" >sections</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-ConfigFile.html#v%3Ahas_section" TARGET="main" >has_section</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-ConfigFile.html#v%3Aoptions" TARGET="main" >options</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-ConfigFile.html#v%3Ahas_option" TARGET="main" >has_option</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-ConfigFile.html#v%3Aitems" TARGET="main" >items</A ></DIV > <H1 >Modifying Data </H1 > <DIV CLASS="decl" ><A HREF="Data-ConfigFile.html#v%3Aset" TARGET="main" >set</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-ConfigFile.html#v%3Asetshow" TARGET="main" >setshow</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-ConfigFile.html#v%3Aremove_option" TARGET="main" >remove_option</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-ConfigFile.html#v%3Aadd_section" TARGET="main" >add_section</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-ConfigFile.html#v%3Aremove_section" TARGET="main" >remove_section</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-ConfigFile.html#v%3Amerge" TARGET="main" >merge</A ></DIV > <H1 >Output Data </H1 > <DIV CLASS="decl" ><A HREF="Data-ConfigFile.html#v%3Ato_string" TARGET="main" >to_string</A ></DIV ></DIV ></DIV ></BODY ></HTML >