Re: [commit: ghc] master: Re-work the naming story for the GHCi prompt (Trac #8649) (73c08ab)

On 10/01/14 08:52, git@git.haskell.org wrote:
Repository : ssh://git@git.haskell.org/ghc
On branch : master Link : http://ghc.haskell.org/trac/ghc/changeset/73c08ab10e4077e18e459a1325996bff11...
---------------------------------------------------------------
commit 73c08ab10e4077e18e459a1325996bff110360c3 Author: Simon Peyton Jones
Date: Thu Jan 9 17:58:18 2014 +0000 Re-work the naming story for the GHCi prompt (Trac #8649)
Thanks for going to the trouble of cleaning this up. I was never happy with how this all worked. The prefix colon in the name (":Interactive") was supposed to avoid the possibility of clashing with a user-defined module, rather like the ":Main" pseudo-module. Could that be a problem with "Ghci1" and so on? What about the "interactive" package? Perhaps these ought to be renamed to something that can't be user-defined? Cheers, Simon

Well, the module names can be disambiguated by the package name (it's already possible to have the same module in different packages). It is indeed possible to have a package called "interactive", and I simply assumed that would be unlikely. I'd be ok with changing it to ":interactive" if you want to do that.
Simon
| -----Original Message-----
| From: ghc-devs [mailto:ghc-devs-bounces@haskell.org] On Behalf Of Simon
| Marlow
| Sent: 19 January 2014 08:24
| To: ghc-devs@haskell.org
| Subject: Re: [commit: ghc] master: Re-work the naming story for the
| GHCi prompt (Trac #8649) (73c08ab)
|
| On 10/01/14 08:52, git@git.haskell.org wrote:
| > Repository : ssh://git@git.haskell.org/ghc
| >
| > On branch : master
| > Link :
| http://ghc.haskell.org/trac/ghc/changeset/73c08ab10e4077e18e459a1325996
| bff110360c3/ghc
| >
| >> ---------------------------------------------------------------
| >
| > commit 73c08ab10e4077e18e459a1325996bff110360c3
| > Author: Simon Peyton Jones
participants (2)
-
Simon Marlow
-
Simon Peyton Jones