> ??
> I do not understand. I meant  -O  only for  ghc --make -O
> (has -O sense in other situation?) 

Yes, I was talking about in interactive mode.  It works fine with
--make.

> to compile _once_ the whole application library.
> .o, .hi  files are prepared once
> (Why are you saying `to wait that long' ?).
> Then, thousands of times  ghci  is run that uses the ready library 
> optimized code and loads smaller examples to interptret.
> (I never tried -O to compile for  ghci  because so far we are 
> considering the bugs made by  ghci  using the code produced with
> -Onot). 
> Typical example: the product of concrete matrices  matrMul M N  
> is called for several M, N - in interpreted mode.
> But  matrMul  refers to the application library code compiled (once)
> with -O.
> Is this possible? 
> Please, document these questions in the manual. 

-O is disabled in interactive mode.  This is documented in the manual in
the GHCi section.

Cheers,
        Simon

_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to