This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Description
A couple of days ago, I tried giving -O
GHC option in CW kumite like this:
But the compiler rejected it, saying that -O
is ignored because --interactive
is on. (I used it in Preloaded section, and didn't check other sections yet.)
The --interactive
flag is usually just for running ghci
and (if I'm understanding the GHC docs correctly) not for use in compiled programs. That's pretty lame because GHC's optimization is really good if enabled (it's sometimes said that Haskell is almost on par with C/C++ about performance, at least if properly coded) but we're totally throwing it away and dragging it down to that of common interpreted languages.
That said, can you show us the current GHC command-line options for v8? Let's see what we can change to make it better.