[Haskell-cafe] Re: Weird ghci behaviour?

Claus Reinke claus.reinke at talk21.com
Mon Nov 12 18:43:24 EST 2007


> "For technical reasons, GHCi can only support the *-form for modules
> which are interpreted, so compiled modules and package modules can
> only contribute their exports to the current scope." But it does mean
> the interpreter isn't referentially transparent, which is weird for a
> language that puts so much stress on referential transparency.

iirc, you can use -fforce-recomp with GHCi, to make it look
for sources, ignoring compiled code, if that is what you want:

http://www.haskell.org/ghc/docs/latest/html/users_guide/separate-compilation.html#recomp

claus




More information about the Haskell-Cafe mailing list