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

Simon Marlow marlowsd at gmail.com
Sun Jan 19 08:23:36 UTC 2014


On 10/01/14 08:52, git at git.haskell.org wrote:
> Repository : ssh://git@git.haskell.org/ghc
>
> On branch  : master
> Link       : http://ghc.haskell.org/trac/ghc/changeset/73c08ab10e4077e18e459a1325996bff110360c3/ghc
>
>> ---------------------------------------------------------------
>
> commit 73c08ab10e4077e18e459a1325996bff110360c3
> Author: Simon Peyton Jones <simonpj at microsoft.com>
> 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



More information about the ghc-devs mailing list