Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 1f2b142b9d2ef4849a6f5316fa1c5b12 > files > 2045

ghc-6.10.4-1mdv2010.0.i586.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
>StaticFlagParser</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_StaticFlagParser.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"
>ghc-6.10.4: The GHC API</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"
>StaticFlagParser</FONT
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></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%3AparseStaticFlags"
>parseStaticFlags</A
> :: [<A HREF="SrcLoc.html#t%3ALocated"
>Located</A
> <A HREF="../base/Data-Char.html#t%3AString"
>String</A
>] -&gt; <A HREF="../base/System-IO.html#t%3AIO"
>IO</A
> ([<A HREF="SrcLoc.html#t%3ALocated"
>Located</A
> <A HREF="../base/Data-Char.html#t%3AString"
>String</A
>], [<A HREF="SrcLoc.html#t%3ALocated"
>Located</A
> <A HREF="../base/Data-Char.html#t%3AString"
>String</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:parseStaticFlags"
><A NAME="v%3AparseStaticFlags"
></A
></A
><B
>parseStaticFlags</B
> :: [<A HREF="SrcLoc.html#t%3ALocated"
>Located</A
> <A HREF="../base/Data-Char.html#t%3AString"
>String</A
>] -&gt; <A HREF="../base/System-IO.html#t%3AIO"
>IO</A
> ([<A HREF="SrcLoc.html#t%3ALocated"
>Located</A
> <A HREF="../base/Data-Char.html#t%3AString"
>String</A
>], [<A HREF="SrcLoc.html#t%3ALocated"
>Located</A
> <A HREF="../base/Data-Char.html#t%3AString"
>String</A
>])</TD
></TR
><TR
><TD CLASS="doc"
><P
>Parses GHC's static flags from a list of command line arguments.
</P
><P
>These flags are static in the sense that they can be set only once and they
 are global, meaning that they affect every instance of GHC running;
 multiple GHC threads will use the same flags.
</P
><P
>This function must be called before any session is started, i.e., before
 the first call to GHC.withGhc.
</P
><P
>Static flags are more of a hack and are static for more or less historical
 reasons.  In the long run, most static flags should eventually become
 dynamic flags.
</P
><P
>XXX: can we add an auto-generated list of static flags here?
</P
></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.4.2</TD
></TR
></TABLE
></BODY
></HTML
>