From: simonpj Date: Thu, 31 Aug 2000 09:53:08 +0000 (+0000) Subject: [project @ 2000-08-31 09:53:08 by simonpj] X-Git-Tag: Approximately_9120_patches~3816 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=394e677da617e9ada2cb1d9cd067576fb0624c8e;p=ghc-hetmet.git [project @ 2000-08-31 09:53:08 by simonpj] Document -ddump-minimal-imports --- 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. + + + + + :