Safe Haskell | None |
---|---|
Language | Haskell2010 |
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