Created
June 15, 2021 16:59
-
-
Save dhilst/8e260df2f288a05ce1ed591dcbe4954b to your computer and use it in GitHub Desktop.
Ignore hints with hlint haskell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Foo where | |
import Control.Monad.State | |
{-# ANN module ("hlint: ignore Use <$>") #-} | |
-- This ^ line disables it | |
foo :: State Int String | |
foo = do | |
x <- get | |
return (show x) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment