remove redundant $ in Game.hs
This commit is contained in:
parent
1cdeaa759b
commit
76f9007dc2
1 changed files with 3 additions and 3 deletions
|
@ -222,7 +222,7 @@ drawStats g =
|
||||||
]
|
]
|
||||||
|
|
||||||
drawStat :: String -> Int -> Widget Name
|
drawStat :: String -> Int -> Widget Name
|
||||||
drawStat s n = padLeftRight 1 $ str s <+> (padLeft Max $ str $ show n)
|
drawStat s n = padLeftRight 1 $ str s <+> padLeft Max (str $ show n)
|
||||||
|
|
||||||
drawLeaderBoard :: Game -> Widget Name
|
drawLeaderBoard :: Game -> Widget Name
|
||||||
drawLeaderBoard _ = emptyWidget
|
drawLeaderBoard _ = emptyWidget
|
||||||
|
@ -270,8 +270,8 @@ drawHelp =
|
||||||
|
|
||||||
drawKeyInfo :: String -> String -> Widget Name
|
drawKeyInfo :: String -> String -> Widget Name
|
||||||
drawKeyInfo action keys =
|
drawKeyInfo action keys =
|
||||||
(padRight Max $ padLeft (Pad 1) $ str action)
|
padRight Max (padLeft (Pad 1) $ str action)
|
||||||
<+> (padLeft Max $ padRight (Pad 1) $ str keys)
|
<+> padLeft Max (padRight (Pad 1) $ str keys)
|
||||||
|
|
||||||
drawGameOver :: Game -> Widget Name
|
drawGameOver :: Game -> Widget Name
|
||||||
drawGameOver g =
|
drawGameOver g =
|
||||||
|
|
Loading…
Add table
Reference in a new issue