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

Thomas Koster tkoster at gmail.com
Wed Sep 9 01:08:39 UTC 2015


On Tue, Sep 8, 2015 at 8:38 PM, Thomas Koster <tkoster at gmail.com> wrote:
> I don't use Emacs so I'm just guessing here, but depending on how
> haskell-mode works, you might be able to keep ghci happy by putting
> ":set -Wwarn" in your "~/.ghci" file, which should hopefully set
> warnings to be warnings again for ghci only. However, this may mean
> that ghci can compile a module where ghc refused and you're back where
> you started.

On 9 September 2015 at 10:40, Brandon Allbery <allbery.b at gmail.com> wrote:
> :seti -Wwarn ?

Yes, probably.

I was just guessing; I don't use ghci for this purpose myself, or
"-Werror" or Emacs :)

--
Thomas Koster


More information about the Haskell-Cafe mailing list