X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fusers_guide%2Fusing.xml;h=7ef2f2f99409d11386795e6fd33516696f994e21;hb=5cf5ededd8d02a5af4d395ffeb78b0e45c531139;hp=95f5b9402a776526db2931bdd6a3d8424a2b9e84;hpb=7828bf3ea2ea34e7a3a8662f5f621ef706ffee5c;p=ghc-hetmet.git diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml index 95f5b94..7ef2f2f 100644 --- a/docs/users_guide/using.xml +++ b/docs/users_guide/using.xml @@ -268,6 +268,22 @@ module X where + .ll + + An llvm-intermediate-language source file, usually + produced by the compiler. + + + + + .bc + + An llvm-intermediate-language bitcode file, usually + produced by the compiler. + + + + .s An assembly-language source file, usually produced by @@ -442,9 +458,10 @@ module X where + ghc --supported-extensions ghc --supported-languages - + Print the supported language extensions. @@ -972,7 +989,6 @@ ghc -c Foo.hs suspicious code. The warnings that are not enabled by are - , , , , @@ -1122,7 +1138,7 @@ foreign import "&f" f :: FunPtr t is bound in a way that looks lazy, e.g. where (I# x) = .... Use where !(I# x) = ... instead. This will be an - error, rather than a warning, in GHC 6.14. + error, rather than a warning, in GHC 7.2. @@ -1359,28 +1375,6 @@ f "2" = 2 - : - - - - Causes the compiler to warn about lambda-bound - patterns that can fail, eg. \(x:xs)->.... - Normally, these aren't treated as incomplete patterns by - . - “Lambda-bound patterns” includes all places where there is a single pattern, - including list comprehensions and do-notation. In these cases, a pattern-match - failure is quite legitimate, and triggers filtering (list comprehensions) or - the monad fail operation (monads). For example: - - f :: [Maybe a] -> [a] - f xs = [y | Just y <- xs] - - Switching on will elicit warnings about - these probably-innocent cases, which is why the flag is off by default. - - - - : @@ -2173,7 +2167,7 @@ f "2" = 2 : - (x86 only, added in GHC 6.14.1) Use the SSE2 registers and + (x86 only, added in GHC 7.0.1) Use the SSE2 registers and instruction set to implement floating point operations when using the native code generator. This gives a substantial performance improvement for floating point, @@ -2259,7 +2253,6 @@ statements or clauses.