X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdocs%2Fusers_guide%2Fusing.vsgml;h=88d404ad2822d4c5a05e7f337d5beda25fd483b9;hb=c7f8f1e62b555462f98c3f813440559116033a99;hp=8ef625551443153c59eee7e8e17cc9f6dddac62f;hpb=6d8504e2cc7c78390185c10a26416f2636e7a743;p=ghc-hetmet.git diff --git a/ghc/docs/users_guide/using.vsgml b/ghc/docs/users_guide/using.vsgml index 8ef6255..88d404a 100644 --- a/ghc/docs/users_guide/using.vsgml +++ b/ghc/docs/users_guide/using.vsgml @@ -359,6 +359,17 @@ This option is on by default, and warns you whenever an instance declaration is missing one or more methods, and the corresponding class declaration has no default declaration for them. +@-fwarn-missing-fields@: +-fwarn-missing-fields option +missing fields, warning +fields, missing + +This option is on by default, and warns you whenever the construction +of a labelled field constructor isn't complete, missing initializers +for one or more fields. While not an error (the missing fields are +initialised with bottoms), it is often an indication of a programmer +error. + @-fwarn-unused-imports@: -fwarn-unused-imports option unused imports, warning @@ -452,7 +463,10 @@ file @A.hi@. The interface file is not intended for human consumption, as you'll see if you take a look at one. It's merely there to help the compiler compile other modules in the same program. -NOTE: Having the name of the interface file follow the module name and +NOTE: The name of the interface file is derived from the name +of the module, not from the name of the file containing the module. +This means that GHC knows what to look for when it sees import A +in another module. However, having the name of the interface file follow the module name and not the file name, means that working with tools such as @make(1)@ become harder. @make@ implicitly assumes that any output files produced by processing a translation unit will have file names that @@ -490,6 +504,26 @@ other unpleasant happenings. %************************************************************************ %* * +File names and module names +