Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > updates > by-pkgid > 040b01fd062be0d3984f68287bae0bc8 > files > 165

ghc-Cabal-devel-1.8.0.6-8.6.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
>Distribution.Simple.Program.Ar</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_Distribution-Simple-Program-Ar.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"
>Cabal-1.8.0.6: A framework for packaging Haskell software</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"
>Distribution.Simple.Program.Ar</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"
>Maintainer</TD
><TD CLASS="infoval"
>cabal-devel@haskell.org</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"
>This module provides an library interface to the <TT
>ar</TT
> program.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Synopsis</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="#v%3AcreateArLibArchive"
>createArLibArchive</A
> :: <A HREF="Distribution-Verbosity.html#t%3AVerbosity"
>Verbosity</A
> -&gt; <A HREF="Distribution-Simple-Program-Types.html#t%3AConfiguredProgram"
>ConfiguredProgram</A
> -&gt; <A HREF="../base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; [<A HREF="../base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
>] -&gt; <A HREF="../base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="../ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AmultiStageProgramInvocation"
>multiStageProgramInvocation</A
> :: <A HREF="Distribution-Simple-Program-Run.html#t%3AProgramInvocation"
>ProgramInvocation</A
> -&gt; (<A HREF="Distribution-Simple-Program-Run.html#t%3AProgramInvocation"
>ProgramInvocation</A
>, <A HREF="Distribution-Simple-Program-Run.html#t%3AProgramInvocation"
>ProgramInvocation</A
>, <A HREF="Distribution-Simple-Program-Run.html#t%3AProgramInvocation"
>ProgramInvocation</A
>) -&gt; [<A HREF="../base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
>] -&gt; [<A HREF="Distribution-Simple-Program-Run.html#t%3AProgramInvocation"
>ProgramInvocation</A
>]</TD
></TR
></TABLE
></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"
><A NAME="v:createArLibArchive"
><A NAME="v%3AcreateArLibArchive"
></A
></A
><B
>createArLibArchive</B
> :: <A HREF="Distribution-Verbosity.html#t%3AVerbosity"
>Verbosity</A
> -&gt; <A HREF="Distribution-Simple-Program-Types.html#t%3AConfiguredProgram"
>ConfiguredProgram</A
> -&gt; <A HREF="../base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
> -&gt; [<A HREF="../base-4.2.0.2/System-IO.html#t%3AFilePath"
>FilePath</A
>] -&gt; <A HREF="../base-4.2.0.2/System-IO.html#t%3AIO"
>IO</A
> <A HREF="../ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29"
>()</A
></TD
></TR
><TR
><TD CLASS="doc"
>Call <TT
>ar</TT
> to create a library archive from a bunch of object files.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:multiStageProgramInvocation"
><A NAME="v%3AmultiStageProgramInvocation"
></A
></A
><B
>multiStageProgramInvocation</B
> :: <A HREF="Distribution-Simple-Program-Run.html#t%3AProgramInvocation"
>ProgramInvocation</A
> -&gt; (<A HREF="Distribution-Simple-Program-Run.html#t%3AProgramInvocation"
>ProgramInvocation</A
>, <A HREF="Distribution-Simple-Program-Run.html#t%3AProgramInvocation"
>ProgramInvocation</A
>, <A HREF="Distribution-Simple-Program-Run.html#t%3AProgramInvocation"
>ProgramInvocation</A
>) -&gt; [<A HREF="../base-4.2.0.2/Data-Char.html#t%3AString"
>String</A
>] -&gt; [<A HREF="Distribution-Simple-Program-Run.html#t%3AProgramInvocation"
>ProgramInvocation</A
>]</TD
></TR
><TR
><TD CLASS="doc"
><P
>Like the unix xargs program. Useful for when we've got very long command
 lines that might overflow an OS limit on command line length and so you
 need to invoke a command multiple times to get all the args in.
</P
><P
>It takes four template invocations corresponding to the simple, initial,
 middle and last invocations. If the number of args given is small enough
 that we can get away with just a single invocation then the simple one is
 used:
</P
><PRE
> $ simple args
</PRE
><P
>If the number of args given means that we need to use multiple invocations
 then the templates for the initial, middle and last invocations are used:
</P
><PRE
> $ initial args_0
 $ middle  args_1
 $ middle  args_2
   ...
 $ final   args_n
</PRE
></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
>