Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 712bf779edb4315f67f59dcf3d10664f > files > 92

ghc-cmdargs-devel-0.7-2.fc14.i686.rpm

<!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
>cmdargs-0.7: Command line argument processing</TITLE
><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css"
><SCRIPT SRC="haddock-util.js" TYPE="text/javascript"
></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"
>cmdargs-0.7: Command line argument processing</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="section1"
>cmdargs-0.7: Command line argument processing</TD
></TR
><TR
><TD CLASS="doc"
><P
>This library provides an easy way to define command line parsers. Most users
will want to use the <A HREF="System-Console-CmdArgs-Implicit.html"
>System.Console.CmdArgs.Implicit</A
> module, whose
documentation contains an example.
</P
><UL
><LI
> <A HREF="System-Console-CmdArgs-Explicit.html"
>System.Console.CmdArgs.Explicit</A
> provides a way to write command line
parsers for both single mode programs (most programs) and multiple
mode programs (e.g. darcs or cabal). Parsers are defined by constructing
a data structure.
</LI
><LI
> <A HREF="System-Console-CmdArgs-Implicit.html"
>System.Console.CmdArgs.Implicit</A
> provides a way to concisely define
command line parsers, up to three times shorter than getopt. These parsers
are translated into the Explicit data type.
</LI
><LI
> <A HREF="System-Console-CmdArgs-GetOpt.html"
>System.Console.CmdArgs.GetOpt</A
> provides a wrapper allowing compatiblity
with existing getopt parsers, mapping to the Explicit data type.
</LI
></UL
><P
>For a general reference on what command line flags are commonly used,
see <A HREF="http://www.faqs.org/docs/artu/ch10s05.html"
>http://www.faqs.org/docs/artu/ch10s05.html</A
>.
</P
></TD
></TR
><TR
><TD CLASS="section1"
>Modules</TD
></TR
><TR
><TD
><TABLE CLASS="vanilla2" CELLSPACING="0" CELLPADDING="0"
><TR
><TD STYLE="width: 50em"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'n:0')" ALT="show/hide"
>System</TD
><TD
></TD
><TD
></TD
></TR
><TR
><TD STYLE="padding: 0; padding-left: 2em" COLSPAN="3"
><TABLE CLASS="vanilla2" CELLSPACING="0" CELLPADDING="0" ID="n:0" STYLE="display:block;"
><TR
><TD STYLE="width: 48em"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'n:1')" ALT="show/hide"
>Console</TD
><TD
></TD
><TD
></TD
></TR
><TR
><TD STYLE="padding: 0; padding-left: 2em" COLSPAN="3"
><TABLE CLASS="vanilla2" CELLSPACING="0" CELLPADDING="0" ID="n:1" STYLE="display:block;"
><TR
><TD STYLE="width: 46em"
><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'n:2')" ALT="show/hide"
><A HREF="System-Console-CmdArgs.html"
>System.Console.CmdArgs</A
></TD
><TD
></TD
><TD
></TD
></TR
><TR
><TD STYLE="padding: 0; padding-left: 2em" COLSPAN="3"
><TABLE CLASS="vanilla2" CELLSPACING="0" CELLPADDING="0" ID="n:2" STYLE="display:block;"
><TR
><TD STYLE="padding-left: 1.25em;width: 44em"
><A HREF="System-Console-CmdArgs-Annotate.html"
>System.Console.CmdArgs.Annotate</A
></TD
><TD
></TD
><TD
></TD
></TR
><TR
><TD STYLE="padding-left: 1.25em;width: 44em"
><A HREF="System-Console-CmdArgs-Default.html"
>System.Console.CmdArgs.Default</A
></TD
><TD
></TD
><TD
></TD
></TR
><TR
><TD STYLE="padding-left: 1.25em;width: 44em"
><A HREF="System-Console-CmdArgs-Explicit.html"
>System.Console.CmdArgs.Explicit</A
></TD
><TD
></TD
><TD
></TD
></TR
><TR
><TD STYLE="padding-left: 1.25em;width: 44em"
><A HREF="System-Console-CmdArgs-GetOpt.html"
>System.Console.CmdArgs.GetOpt</A
></TD
><TD
></TD
><TD
></TD
></TR
><TR
><TD STYLE="padding-left: 1.25em;width: 44em"
><A HREF="System-Console-CmdArgs-Implicit.html"
>System.Console.CmdArgs.Implicit</A
></TD
><TD
></TD
><TD
></TD
></TR
><TR
><TD STYLE="padding-left: 1.25em;width: 44em"
><A HREF="System-Console-CmdArgs-Text.html"
>System.Console.CmdArgs.Text</A
></TD
><TD
></TD
><TD
></TD
></TR
><TR
><TD STYLE="padding-left: 1.25em;width: 44em"
><A HREF="System-Console-CmdArgs-Verbosity.html"
>System.Console.CmdArgs.Verbosity</A
></TD
><TD
></TD
><TD
></TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
></TABLE
></TD
></TR
></TABLE
></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.6.1</TD
></TR
></TABLE
></BODY
></HTML
>