Interesting.  Are you sure you *want* to refer to NDP stuff by RdrName?  
Polluting the GblRdrEnv sounds suspicious to me

Simon

| -----Original Message-----
| From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roman 
Leshchinskiy
| Sent: 10 August 2007 04:13
| To: cvs-ghc@haskell.org
| Subject: patch applied (ghc): Implicitly import NDP stuff when vectorising
|
| Mon Aug  6 21:39:07 PDT 2007  Roman Leshchinskiy <[EMAIL PROTECTED]>
|   * Implicitly import NDP stuff when vectorising
|
|   We add the following declaration to all vectorised modules:
|
|     import qualified <NDP interface module> as :NDP
|
|   This allows us to refer to NDP stuff by RdrName later on but does not expose
|   NDP names to the user's code.
|
|     M ./compiler/prelude/PrelNames.lhs +2
|     M ./compiler/rename/RnNames.lhs -1 +19
|
| _______________________________________________
| Cvs-ghc mailing list
| Cvs-ghc@haskell.org
| http://www.haskell.org/mailman/listinfo/cvs-ghc

_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to