Sophie

Sophie

distrib > Fedora > 20 > x86_64 > by-pkgid > d2132803bbeabdd2b2ce94f38ae0ab31 > files > 57

ghc-cmdtheline-devel-0.2.3-1.fc20.x86_64.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>System.Console.CmdTheLine.GetOpt</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_System-Console-CmdTheLine-GetOpt.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/System-Console-CmdTheLine-GetOpt.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">cmdtheline-0.2.3: Declarative command-line option parsing and documentation library.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>Safe-Inferred</td></tr></table><p class="caption">System.Console.CmdTheLine.GetOpt</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Adapter for <a href="/usr/share/doc/ghc/html/libraries/base-4.6.0.1/System-Console-GetOpt.html">System.Console.GetOpt</a>.
</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:optDescrsTerm">optDescrsTerm</a> ::  [<a href="/usr/share/doc/ghc/html/libraries/base-4.6.0.1/System-Console-GetOpt.html#t:OptDescr">OptDescr</a> a] -&gt; <a href="System-Console-CmdTheLine.html#t:Term">Term</a> [a]</li><li class="src short"><a href="#v:optDescrToTerm">optDescrToTerm</a> ::  <a href="/usr/share/doc/ghc/html/libraries/base-4.6.0.1/System-Console-GetOpt.html#t:OptDescr">OptDescr</a> a -&gt; <a href="System-Console-CmdTheLine.html#t:Term">Term</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> a)</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:optDescrsTerm" class="def">optDescrsTerm</a> ::  [<a href="/usr/share/doc/ghc/html/libraries/base-4.6.0.1/System-Console-GetOpt.html#t:OptDescr">OptDescr</a> a] -&gt; <a href="System-Console-CmdTheLine.html#t:Term">Term</a> [a]<a href="src/System-Console-CmdTheLine-GetOpt.html#optDescrsTerm" class="link">Source</a></p><div class="doc"><p>Sequence a list of <code><code><a href="/usr/share/doc/ghc/html/libraries/base-4.6.0.1/System-Console-GetOpt.html#t:OptDescr">OptDescr</a></code>s</code> into a term. Absent flags
 (specified with <code><a href="/usr/share/doc/ghc/html/libraries/base-4.6.0.1/System-Console-GetOpt.html#v:NoArg">NoArg</a></code>) are filtered out.
</p></div></div><div class="top"><p class="src"><a name="v:optDescrToTerm" class="def">optDescrToTerm</a> ::  <a href="/usr/share/doc/ghc/html/libraries/base-4.6.0.1/System-Console-GetOpt.html#t:OptDescr">OptDescr</a> a -&gt; <a href="System-Console-CmdTheLine.html#t:Term">Term</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> a)<a href="src/System-Console-CmdTheLine-GetOpt.html#optDescrToTerm" class="link">Source</a></p><div class="doc"><p>Convert an <code><a href="/usr/share/doc/ghc/html/libraries/base-4.6.0.1/System-Console-GetOpt.html#t:OptDescr">OptDescr</a></code> into a <code><a href="System-Console-CmdTheLine.html#t:Term">Term</a></code> which returns <code><a href="/usr/share/doc/ghc/html/libraries/base-4.6.0.1/Data-Maybe.html#v:Nothing">Nothing</a></code> if
 <code><a href="/usr/share/doc/ghc/html/libraries/base-4.6.0.1/System-Console-GetOpt.html#v:NoArg">NoArg</a></code> is specified and the flag is absent or <code><a href="/usr/share/doc/ghc/html/libraries/base-4.6.0.1/Data-Maybe.html#v:Just">Just</a></code> the argument
 otherwise.
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.13.2</p></div></body></html>