[Haskell-cafe] Flag to recompile modules which had warnings

Thomas Koster tkoster at gmail.com
Wed Sep 2 23:23:41 UTC 2015


On 3 September 2015 at 04:44, Kostiantyn Rybnikov <k-bx at k-bx.com> wrote:
> There's a common situation I get into: I compile with "stack build" (or
> cabal build), get a big list of warnings, fix few of them, then I re-compile
> project, but a lot of warnings are gone now. The only option I'm left with
> is to use "-fforce-recomp".

If you're going to fix all the warnings anyway, why not just use -Werror?

--
Thomas Koster


More information about the Haskell-Cafe mailing list