X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fusers_guide%2Fusing.xml;h=7ef2f2f99409d11386795e6fd33516696f994e21;hb=0a435635320c2fb075694b52ddbce5bb792110f5;hp=45f64383323f5684f172287637ebe98a81d4880c;hpb=f63ef1a7f3fa3fff1769b2db397437025f3f5586;p=ghc-hetmet.git diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml index 45f6438..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 @@ -973,7 +989,6 @@ ghc -c Foo.hs suspicious code. The warnings that are not enabled by are - , , , , @@ -1360,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. - - - - :