Hello,

> :r is also *much* faster in general; :l reloads all modules from
> scratch, while :r only reloads the modules that have changed.
> 
:r also doesn't seem check the import declarations for changes. For 
example, if I add a new import statement to my file, without adding code 
which uses the new import, :r will not cause the newly imported things to 
be in scope, but :l will. BTW this is for GHCi 6.6.1, though I think older 
versions had the same behavior.

-Jeff


---

This e-mail may contain confidential and/or privileged information. If you 
are not the intended recipient (or have received this e-mail in error) 
please notify the sender immediately and destroy this e-mail. Any 
unauthorized copying, disclosure or distribution of the material in this 
e-mail is strictly forbidden.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to