GHC 6.4 release candidates available [GHCi reloads incorrectly]

Simon Marlow simonmar at microsoft.com
Mon Feb 14 08:44:23 EST 2005


On 11 February 2005 13:50, Simon David Foster wrote:

> If I have two simple modules, Module1 and Module2 like this;
> 
> module Module1 where
> f = "hello"
> 
> module Module2 where
> import Module1
> 
> I load up Module2 in GHCi, and I can evaluate f in Module1;
> 
> Compiling Module1          ( ./Module1.hs, interpreted )
> Compiling Module2          ( Module2.hs, interpreted )
> Ok, modules loaded: Module2, Module1.
> *Module2> f
> "hello"
> 
> Now I change Module1 to
> 
> module Module1 where
> f = "hello2"
> 
> and reload; this happens in the GHC 6.4 RC:
> 
> *Module2> :r
> Compiling Module1          ( ./Module1.hs, interpreted )
> Skipping  Module2          ( Module2.hs, interpreted )
> Ok, modules loaded: Module2, Module1.
> Prelude Module2>

Thanks, good bug.  Now fixed.

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list