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
Found
{-# LANGUAGE EmptyDataDecls, DeriveGeneric, OverloadedStrings,
ScopedTypeVariables #-}
Why not{-# LANGUAGE DeriveGeneric, OverloadedStrings, ScopedTypeVariables
#-}
minimalistic.hs:42:1: Suggestion: Use camelCase
Found
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
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
Found
("*.png")Why not
"*.png"
minimalistic.hs:102:29: Warning: Redundant bracket
Found
Found
("*.jpg")Why not
"*.jpg"
minimalistic.hs:105:29: Warning: Redundant bracket
Found
Found
("templates/minimalistic.html")Why not
"templates/minimalistic.html"
minimalistic.hs:150:75: Warning: Redundant bracket
Found
Found
(exRankSpec)Why not
exRankSpec
minimalistic.hs:152:1: Suggestion: Use newtype instead of data
Found
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
Found
docPrec i x = doc xWhy not
docPrec i = doc
minimalistic.hs:168:87: Warning: Redundant bracket
Found
Found
(return)Why not
return