X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fusers_guide%2Fflags.xml;h=182b2fdacbfe1eca5ee8568a9d2141b87c9d4ffd;hb=3388ec10d647189e7d1172bfae27d1c447d42d1c;hp=d589fc366e65b1eb6a423187384f1c5892dcf550;hpb=4ca6790feb128b03e0783de7f44399fef5c5ad22;p=ghc-hetmet.git diff --git a/docs/users_guide/flags.xml b/docs/users_guide/flags.xml index d589fc3..182b2fd 100644 --- a/docs/users_guide/flags.xml +++ b/docs/users_guide/flags.xml @@ -607,7 +607,9 @@ Language options - + Language options can be enabled either by a command-line option + , or by a {-# LANGUAGE blah #-} + pragma in the file itself. See @@ -704,6 +706,12 @@ + + Disable support for n+k patterns + dynamic + + + Make pattern bindings polymorphic dynamic @@ -787,7 +795,7 @@ - Enable unicode syntax. + Enable unicode syntax. dynamic @@ -854,7 +862,7 @@ - Enable transform list comprehensions. + Enable generalised list comprehensions. dynamic @@ -932,7 +940,7 @@ - Enable type synonyms. + Enable type synonyms in instance heads. dynamic @@ -1025,6 +1033,13 @@ + + warn about uses of pragmas that GHC doesn't recognise + dynamic + + + + warn about uses of functions & types that have warnings or deprecated pragmas dynamic @@ -1166,6 +1181,20 @@ + + + warn about do bindings that appear to throw away values of types other than () + dynamic + + + + + + warn about do bindings that appear to throw away monadic values that you should have bound instead + dynamic + + + @@ -1429,6 +1458,13 @@ static - + + + + Turn on eager blackholing + dynamic + - + @@ -1454,20 +1490,20 @@ Auto-add _scc_s to all exported functions - static + dynamic Auto-add _scc_s to all top-level functions - static + dynamic Auto-add _scc_s to all CAFs - static + dynamic @@ -1597,33 +1633,6 @@ - C compiler options - - - - - - - Flag - Description - Static/Dynamic - Reverse - - - - - file - Include file when - compiling the .hc file - dynamic - - - - - - - - - Code generation options @@ -1691,6 +1700,12 @@ + + Generate a shared library (as opposed to an executable) + dynamic + - + + Generate position-independent code (where available) static @@ -1703,6 +1718,13 @@ - + + Selects one of a number of modes for finding shared + libraries at runtime. + static + - + + name On Darwin/MacOS X only, link in the framework name. This option corresponds to the option for Apple's Linker. @@ -1779,6 +1801,12 @@ - + + Enable runtime event tracing + static + - + + Do not generate a manifest file (Windows only) dynamic @@ -1790,6 +1818,12 @@ dynamic - + + + Don't generate an import library for a DLL (Windows only) + dynamic + - + @@ -2011,7 +2045,7 @@ Generate .hcr external Core files - static + dynamic -