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 -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 > > > _______________________________________________ > Glasgow-haskell-users mailing list > Glasgow-haskell-users@haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users > >
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users