hs-inspector-0.5.2.0: Haskell source code analyzer

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.Inspector.Smell

Synopsis

Documentation

hasRedundantBooleanComparison :: Inspection Source

Inspection that tells whether a binding has expressions like 'x == True'

hasRedundantIf :: Inspection Source

Inspection that tells whether a binding has an if expression where both branches return boolean literals

hasRedundantGuards :: Inspection Source

Inspection that tells whether a binding has guards where both branches return boolean literals

hasRedundantLambda :: Inspection Source

Inspection that tells whether a binding has lambda expressions like 'x -> g x'

hasRedundantParameter :: Inspection Source

Inspection that tells whether a binding has parameters that can be avoided using point-free