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
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to