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 ()