[Haskell-cafe] Re: Weird ghci behaviour?

Jonathan Cast jonathanccast at fastmail.fm
Wed Nov 14 02:22:16 EST 2007

On 13 Nov 2007, at 11:03 PM, Jules Bean wrote:
> Just to be clear: my proposal is that if you want it to go faster  
> you do
> ghci foo.hi
> or
> ghci foo.o
> ... so you still have the option to run on compiled code.
> My suggestion is simply that "ghci foo.hs" is an instruction to  
> load source code (similarly :load); while "ghci foo.o" is obviously  
> an instruction to load compiled code.

Even just having

:m + *Foo

always interpret Foo (giving an error only if the source isn't  

would be an improvement.  And wouldn't alter any /non-error/ behavior  
that exists now.


More information about the Haskell-Cafe mailing list