Re: Provenances of imported identifiers

2000-04-05 Thread George Russell

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.




RE: Provenances of imported identifiers

2000-04-05 Thread Simon Peyton-Jones

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'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: Provenances of imported identifiers
| | 
| | 
| | 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 substituted
| | for the import list in the original file?
| | 
|