From f826f2b2d3b9350951c409e485f600090d8aa76e Mon Sep 17 00:00:00 2001 From: Bill Ewanick Date: Fri, 10 Nov 2023 10:41:44 -0500 Subject: [PATCH] Ignore hint --- .vscode/settings.json | 4 +++- src/projectEuler/question1.hs | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 74f9a48..4bf771e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -6,6 +6,8 @@ "elems", "Factorisation", "factorise", - "foldl" + "foldl", + "HLINT", + "unrecognised" ] } \ No newline at end of file diff --git a/src/projectEuler/question1.hs b/src/projectEuler/question1.hs index dd669a7..7d7e686 100644 --- a/src/projectEuler/question1.hs +++ b/src/projectEuler/question1.hs @@ -5,6 +5,9 @@ The sum of these multiples is 23. Find the sum of all the multiples of 3 or 5 below 1000. -} +{-# OPTIONS_GHC -Wno-unrecognised-pragmas #-} +{-# HLINT ignore "Use sum" #-} + module Main where main :: IO ()