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 (
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, interpr