From 5a7a5c21520b7f77ee79148a7417a296698d2b55 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Mon, 16 Sep 2024 21:07:41 +0530 Subject: [PATCH] ghc: Enable more warnings --- ghc/.ghc/ghci.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ghc/.ghc/ghci.conf b/ghc/.ghc/ghci.conf index 5e3c9ad..1ff2b5f 100644 --- a/ghc/.ghc/ghci.conf +++ b/ghc/.ghc/ghci.conf @@ -22,12 +22,22 @@ -- -------------------------------------------------------------------- -- -- Warning flags for safe build -- https://lexi-lambda.github.io/blog/2018/02/10/an-opinionated-guide-to-haskell-in-2018/ +-- https://mercury.com/blog/enable-warnings-haskell :set -Wall :set -Wcompat :set -Wincomplete-record-updates :set -Wincomplete-uni-patterns :set -Wredundant-constraints +:set -Weverything +:set -Wno-missing-exported-signatures +:set -Wno-missing-import-lists +:set -Wno-missed-specialisations +:set -Wno-all-missed-specialisations +:set -Wno-unsafe +:set -Wno-safe +:set -Wno-missing-local-signatures +:set -Wno-monomorphism-restriction -- -------------------------------------------------------------------- -- -- Util cmds