X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdocs%2Fusers_guide%2Fdebugging.sgml;fp=ghc%2Fdocs%2Fusers_guide%2Fdebugging.sgml;h=c143a4068ac10a951819ca20ba51c1e4ddcadc47;hb=394e677da617e9ada2cb1d9cd067576fb0624c8e;hp=f711a382b8debee81f16ccb1f276f3e1aebae4cc;hpb=41f07b118c4fb7d7bc6c4a72efdb168b81d78675;p=ghc-hetmet.git diff --git a/ghc/docs/users_guide/debugging.sgml b/ghc/docs/users_guide/debugging.sgml index f711a38..c143a40 100644 --- a/ghc/docs/users_guide/debugging.sgml +++ b/ghc/docs/users_guide/debugging.sgml @@ -196,6 +196,7 @@ parser output + : @@ -206,6 +207,21 @@ renamer output +: + + +Dump to the file "M.imports" (where M is the module being compiled) +a "minimal" set of import declarations. You can safely replace +all the import declarations in "M.hs" with those found in "M.imports". +Why would you want to do that? Because the "minimal" imports (a) import +everything explicitly, by name, and (b) import nothing that is not required. +It can be quite painful to maintain this property by hand, so this flag is +intended to reduce the labour. + + + + + :