All hints

All files

Report generated by HLint v2.0.9 - a tool to suggest improvements to your Haskell code.

minimalistic.hs:1:1: Warning: Unused LANGUAGE pragma
Found
{-# LANGUAGE EmptyDataDecls, DeriveGeneric, OverloadedStrings,
  ScopedTypeVariables #-}
Why not
{-# LANGUAGE DeriveGeneric, OverloadedStrings, ScopedTypeVariables
  #-}
minimalistic.hs:42:1: Suggestion: Use camelCase
Found
data Example_DB = Example_DB{exTourneyDB :: HaapTourneyDB ExPlayer}
                deriving (Generic)
Why not
data ExampleDB = ExampleDB{exTourneyDB :: HaapTourneyDB ExPlayer}
               deriving (Generic)
minimalistic.hs:42:1: Suggestion: Use newtype instead of data
Found
data Example_DB = Example_DB{exTourneyDB :: HaapTourneyDB ExPlayer}
                deriving (Generic)
Why not
newtype Example_DB = Example_DB{exTourneyDB ::
                                HaapTourneyDB ExPlayer}
                   deriving (Generic)
Note: decreases laziness
minimalistic.hs:99:29: Warning: Redundant bracket
Found
("*.png")
Why not
"*.png"
minimalistic.hs:102:29: Warning: Redundant bracket
Found
("*.jpg")
Why not
"*.jpg"
minimalistic.hs:105:29: Warning: Redundant bracket
Found
("templates/minimalistic.html")
Why not
"templates/minimalistic.html"
minimalistic.hs:150:75: Warning: Redundant bracket
Found
(exRankSpec)
Why not
exRankSpec
minimalistic.hs:152:1: Suggestion: Use newtype instead of data
Found
data ExPlayer = ExPlayer (String, Bool)
              deriving (Eq, Ord, Show, Generic)
Why not
newtype ExPlayer = ExPlayer (String, Bool)
                 deriving (Eq, Ord, Show, Generic)
Note: decreases laziness
minimalistic.hs:158:5: Warning: Eta reduce
Found
docPrec i x = doc x
Why not
docPrec i = doc
minimalistic.hs:168:87: Warning: Redundant bracket
Found
(return)
Why not
return