[Haskell-cafe] GHCi always optimizes?

Simon Marlow simonmar at microsoft.com
Thu Nov 24 06:53:55 EST 2005

On 22 November 2005 10:07, Dusan Kolar wrote:

>   My question is rather strange, maybe, even if simple:
> Does ghci always translates with "-O" option set on?

I didn't see anyone answer this specific question: the answer is "no",
GHCi does not optimise.  Optimisation cannot be used when interpreting,
except that you're allowed to load in compiled optimised modules.


More information about the Haskell-Cafe mailing list