Re: GHC 7.10.2 and 7.8.4 - optimization flags do not force recompilation.

2015-10-31 Thread Thomas Miedema
It's a bug, see http://ghc.haskell.org/trac/ghc/ticket/10923 Workaround: use `-fforce-recomp`. On Sat, Oct 31, 2015 at 2:39 PM, Mateusz Kłoczko < mateusz.p.kloc...@gmail.com> wrote: > Hello > > I would like to ask one question about optimization flags. > For different n, executing ghc --make

Fwd: GHC 7.10.2 and 7.8.4 - optimization flags do not force recompilation.

2015-10-31 Thread Mateusz Kłoczko
Hello I would like to ask one question about optimization flags. For different n, executing ghc --make -On MyCode.hs doesn't force recompilation for both GHC 7.10.2 and 7.8.4. Is this intended behaviour ? Or am I missing something ? Regards, Mateusz Kłoczko