X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fusers_guide%2Fflags.xml;h=005b139370823ace9fd3f29d5702674de84d1f1f;hb=58521c72cec262496dabf5fffb057d25ab17a0f7;hp=05794dfb255a07c57f903fc4b2aea53b72af5955;hpb=a078252410f284229e5f2440e7b8a9b32a6cfd33;p=ghc-hetmet.git diff --git a/docs/users_guide/flags.xml b/docs/users_guide/flags.xml index 05794df..005b139 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 @@ -787,7 +789,7 @@ - Enable unicode syntax. + Enable unicode syntax. dynamic @@ -854,7 +856,7 @@ - Enable transform list comprehensions. + Enable generalised list comprehensions. dynamic @@ -932,7 +934,7 @@ - Enable type synonyms. + Enable type synonyms in instance heads. dynamic @@ -1025,6 +1027,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 +1175,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 + + + @@ -1698,6 +1721,12 @@ + + Generate a shared library (as opposed to an executable) + dynamic + - + + Generate position-independent code (where available) static @@ -1710,6 +1739,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. @@ -1797,6 +1833,12 @@ dynamic - + + + Don't generate an import library for a DLL (Windows only) + dynamic + - + @@ -2018,7 +2060,7 @@ Generate .hcr external Core files - static + dynamic -