Skip to content

Instantly share code, notes, and snippets.

@dhilst
Created June 15, 2021 16:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dhilst/8e260df2f288a05ce1ed591dcbe4954b to your computer and use it in GitHub Desktop.
Save dhilst/8e260df2f288a05ce1ed591dcbe4954b to your computer and use it in GitHub Desktop.
Ignore hints with hlint haskell
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