X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fusers_guide%2Fusing.xml;h=8b08d9d5266107bdcd0686705d76f5f9e578aee9;hb=6caa417ded740fb8eaa50669269e38c8129092f0;hp=34f769a2ffddeb527200ec8c22abda4aabb37561;hpb=0b22a78248bd06da23c220c842d2a850475d39de;p=ghc-hetmet.git
diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml
index 34f769a..8b08d9d 100644
--- a/docs/users_guide/using.xml
+++ b/docs/users_guide/using.xml
@@ -1300,6 +1300,39 @@ f foo = foo { x = 6 }
+
+ :
+
+ missing import lists, warning
+ import lists, missing
+
+
+
+ This flag warns if you use an unqualified
+ import declaration
+ that does not explicitly list the entities brought into scope. For
+ example
+
+
+module M where
+ import X( f )
+ import Y
+ import qualified Z
+ p x = f x x
+
+
+ The flag will warn about the import
+ of Y but not X
+ If module Y is later changed to export (say) f,
+ then the reference to f in M will become
+ ambiguous. No warning is produced for the import of Z
+ because extending Z's exports would be unlikely to produce
+ ambiguity in M.
+
+
+
+
+ :
@@ -1668,7 +1701,7 @@ f "2" = 2
We don't use a flag for day-to-day
work. We use to get respectable speed;
e.g., when we want to measure something. When we want to go for
- broke, we tend to use (and we go for
+ broke, we tend to use (and we go for
lots of coffee breaks).The easiest way to see what (etc.)
@@ -2170,27 +2203,6 @@ f "2" = 2
-
- :
-
- (x86 only)-monly-N-regs
- option (iX86 only) GHC tries to
- “steal” four registers from GCC, for performance
- reasons; it almost always works. However, when GCC is
- compiling some modules with four stolen registers, it will
- crash, probably saying:
-
-
-Foo.hc:533: fixed or forbidden register was spilled.
-This may be due to a compiler bug or to impossible asm
-statements or clauses.
-
-
- Just give some registers back with
- . Try `3' first, then `2'.
- If `2' doesn't work, please report the bug to us.
-
-