hlint

Safe HaskellNone

Settings

Synopsis

Documentation

data Severity

How severe an error is.

Constructors

Ignore

Ignored errors are only returned when --show is passed.

Warning

Warnings are things that some people may consider improvements, but some may not.

Error

Errors are suggestions that should nearly always be a good idea to apply.

Instances

Bounded Severity 
Enum Severity 
Eq Severity 
Ord Severity 
Read Severity 
Show Severity 

data Note

Constructors

IncreasesLaziness 
DecreasesLaziness 
RemovesError String 
ValidInstance String String 
Note String 

Instances

Eq Note 
Ord Note 
Show Note 

showNotes :: [Note] -> String

type FuncName = (String, String)

data Setting

Constructors

Classify 

Fields

severityS :: Severity
 
hintS :: String
 
funcS :: FuncName
 
MatchExp 

Fields

severityS :: Severity
 
hintS :: String
 
scope :: Scope
 
lhs :: Exp_
 
rhs :: Exp_
 
side :: Maybe Exp_
 
notes :: [Note]
 
Builtin String 
Infix Fixity 

Instances

Show Setting 

isClassify :: Setting -> Bool

isMatchExp :: Setting -> Bool

defaultHintName :: [Char]

isUnifyVar :: String -> Bool

readSettings :: FilePath -> [FilePath] -> [String] -> IO [Setting]

findSettings :: ParseFlags -> FilePath -> IO (String, [Setting])