Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 34886c137d42db1b3f55bf2c70ede9c3 > files > 17

ghc-ConfigFile-devel-1.0.6-4.fc15.1.i686.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Data.ConfigFile.Parser</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Data-ConfigFile-Parser.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Data-ConfigFile-Parser.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">ConfigFile-1.0.6: Configuration file reading &amp; writing</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>portable</td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Maintainer</th><td>John Goerzen &lt;jgoerzen@complete.org&gt;</td></tr></table><p class="caption">Data.ConfigFile.Parser</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Parser support for <a href="Data-ConfigFile.html">Data.ConfigFile</a>.  This module is not intended to be
used directly by your programs.
</p><p>Copyright (c) 2004-2008 John Goerzen, jgoerzen@complete.org
</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><a href="#v:parse_string">parse_string</a> :: <a href="/usr/share/doc/ghc/html/libraries/mtl-2.0.1.0/Control-Monad-Error-Class.html#t:MonadError">MonadError</a> <a href="Data-ConfigFile-Types.html#t:CPError">CPError</a> m =&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -&gt; m <a href="Data-ConfigFile-Parser.html#t:ParseOutput">ParseOutput</a></li><li class="src short"><a href="#v:parse_file">parse_file</a> :: <a href="/usr/share/doc/ghc/html/libraries/mtl-2.0.1.0/Control-Monad-Error-Class.html#t:MonadError">MonadError</a> <a href="Data-ConfigFile-Types.html#t:CPError">CPError</a> m =&gt; <a href="/usr/share/doc/ghc/html/libraries/MissingH-1.1.0.3/System-IO-HVFS.html#t:FilePath">FilePath</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (m <a href="Data-ConfigFile-Parser.html#t:ParseOutput">ParseOutput</a>)</li><li class="src short"><a href="#v:parse_handle">parse_handle</a> :: <a href="/usr/share/doc/ghc/html/libraries/mtl-2.0.1.0/Control-Monad-Error-Class.html#t:MonadError">MonadError</a> <a href="Data-ConfigFile-Types.html#t:CPError">CPError</a> m =&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/GHC-IO-Handle.html#t:Handle">Handle</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (m <a href="Data-ConfigFile-Parser.html#t:ParseOutput">ParseOutput</a>)</li><li class="src short"><a href="#v:interpmain">interpmain</a> :: (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Either.html#t:Either">Either</a> <a href="Data-ConfigFile-Types.html#t:CPError">CPError</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>) -&gt; <a href="/usr/share/doc/ghc/html/libraries/parsec-3.1.1/Text-Parsec-String.html#t:Parser">Parser</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a></li><li class="src short"><span class="keyword">type</span> <a href="#t:ParseOutput">ParseOutput</a> = [(<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>, [(<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>)])]</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:parse_string" class="def">parse_string</a> :: <a href="/usr/share/doc/ghc/html/libraries/mtl-2.0.1.0/Control-Monad-Error-Class.html#t:MonadError">MonadError</a> <a href="Data-ConfigFile-Types.html#t:CPError">CPError</a> m =&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -&gt; m <a href="Data-ConfigFile-Parser.html#t:ParseOutput">ParseOutput</a><a href="src/Data-ConfigFile-Parser.html#parse_string" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:parse_file" class="def">parse_file</a> :: <a href="/usr/share/doc/ghc/html/libraries/mtl-2.0.1.0/Control-Monad-Error-Class.html#t:MonadError">MonadError</a> <a href="Data-ConfigFile-Types.html#t:CPError">CPError</a> m =&gt; <a href="/usr/share/doc/ghc/html/libraries/MissingH-1.1.0.3/System-IO-HVFS.html#t:FilePath">FilePath</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (m <a href="Data-ConfigFile-Parser.html#t:ParseOutput">ParseOutput</a>)<a href="src/Data-ConfigFile-Parser.html#parse_file" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:parse_handle" class="def">parse_handle</a> :: <a href="/usr/share/doc/ghc/html/libraries/mtl-2.0.1.0/Control-Monad-Error-Class.html#t:MonadError">MonadError</a> <a href="Data-ConfigFile-Types.html#t:CPError">CPError</a> m =&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/GHC-IO-Handle.html#t:Handle">Handle</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (m <a href="Data-ConfigFile-Parser.html#t:ParseOutput">ParseOutput</a>)<a href="src/Data-ConfigFile-Parser.html#parse_handle" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:interpmain" class="def">interpmain</a> :: (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Either.html#t:Either">Either</a> <a href="Data-ConfigFile-Types.html#t:CPError">CPError</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>) -&gt; <a href="/usr/share/doc/ghc/html/libraries/parsec-3.1.1/Text-Parsec-String.html#t:Parser">Parser</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a><a href="src/Data-ConfigFile-Parser.html#interpmain" class="link">Source</a></p></div><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:ParseOutput" class="def">ParseOutput</a> = [(<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>, [(<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>, <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>)])]<a href="src/Data-ConfigFile-Types.html#ParseOutput" class="link">Source</a></p><div class="doc"><p>Internal output from parser 
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>