For example, if you have code:
map (\a -> (head a, length a)) someList
HLint will print:
Warning: Use &&& Found: \a -> (head a, length a) Why not: head Control.Arrow.&&& length
Then you can ignore this by adding:
{-# ANN module "HLint: ignore Use &&&" #-}
At the top of the file. Alternatively, you can create ana.hlint file containing:
ignore "Use &&&"
Then use hlint like:
> hlint --hint=ana.hlint source_code.hs
source share