Disable one HLint warning

Problem: recent Hlint fails on Main.hs thinking that
enabling TemplateHaskell is redundant.

Solution: it seems to be a bug which is fixed upstream,
but the fixed version is not released yet.
So we just ignore that warning.
This commit is contained in:
Ivan Gromakovskii 2024-01-10 22:29:19 +01:00
parent 80299163e7
commit 9445595c60
No known key found for this signature in database
GPG Key ID: D0180FB62ABC8AA7

View File

@ -40,6 +40,8 @@ import Data.Semigroup ((<>))
import qualified Prelude as P
-- See https://github.com/ndmitchell/hlint/commit/505a4d57b972f3ba605ad7a59721cef1f3d98a84
{-# ANN module "HLint: ignore Unused LANGUAGE pragma" #-}
-- | Encode a 'String' to be safe to print in ASCII-only.
protect :: String -> String