I meant -ddump-minimal-imports. Sorry
S
| -Original Message-
| From: Simon Peyton-Jones
| Sent: 05 April 2000 17:29
| To: 'George Russell'; [EMAIL PROTECTED]
| Subject: RE: Provenances of imported identifiers
|
|
| Try it now with -fddump-minimal-imports
|
| I don'
Try it now with -fddump-minimal-imports
I don't promise it'll work, but it does in simple cases.
It produces a file M.imports
Simon
| -Original Message-
| From: George Russell [mailto:[EMAIL PROTECTED]]
| Sent: 04 April 2000 14:04
| To: [EMAIL PROTECTED]
| Subject: Prov
Simon Peyton-Jones wrote:
>
> Try it now with -fddump-minimal-imports
>
> I don't promise it'll work, but it does in simple cases.
> It produces a file M.imports
Brilliant, thanks. I'll try it out (indeed probably use it) when I next manage
to compile GHC from CVS.
At the moment UniForM contains great swathes of imported modules, which is
untidy and makes the interfaces too large. Would it perchance be easy to
hack GHC to output the names and provenances of imported entities actually
used in a compilation, in the form of import declarations that can be subs