[Haskell-cafe] Re: Weird ghci behaviour?

Dan Piponi dpiponi at gmail.com
Mon Nov 12 17:57:57 EST 2007

On Nov 12, 2007 1:59 PM, Henning Thielemann
<lemming at henning-thielemann.de> wrote:
> See
>   http://www.haskell.org/ghc/docs/latest/html/users_guide/interactive-evaluation.html

I guess the key sentence is:

"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.

More information about the Haskell-Cafe mailing list