Merge pull request #15 from hapytex/improvement/redundant-dollar-2
remove redundant $s in Game.hs
This commit is contained in:
		
						commit
						361eb0a221
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -231,8 +231,8 @@ drawInfo :: Game -> Widget Name
 | 
				
			||||||
drawInfo g = hLimit 18 -- size of next piece box
 | 
					drawInfo g = hLimit 18 -- size of next piece box
 | 
				
			||||||
  $ vBox
 | 
					  $ vBox
 | 
				
			||||||
    [ drawNextShape (g ^. nextShape)
 | 
					    [ drawNextShape (g ^. nextShape)
 | 
				
			||||||
    , padTop (Pad 1) $ drawHelp
 | 
					    , padTop (Pad 1) drawHelp
 | 
				
			||||||
    , padTop (Pad 1) $ drawGameOver g
 | 
					    , padTop (Pad 1) (drawGameOver g)
 | 
				
			||||||
    ]
 | 
					    ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
drawNextShape :: Tetrimino -> Widget Name
 | 
					drawNextShape :: Tetrimino -> Widget Name
 | 
				
			||||||
| 
						 | 
					@ -258,7 +258,7 @@ drawHelp =
 | 
				
			||||||
    $ padTopBottom 1
 | 
					    $ padTopBottom 1
 | 
				
			||||||
    $ vBox
 | 
					    $ vBox
 | 
				
			||||||
    $ map (uncurry drawKeyInfo)
 | 
					    $ map (uncurry drawKeyInfo)
 | 
				
			||||||
    $ [ ("Left"   , "h, ←")
 | 
					      [ ("Left"   , "h, ←")
 | 
				
			||||||
      , ("Right"  , "l, →")
 | 
					      , ("Right"  , "l, →")
 | 
				
			||||||
      , ("Down"   , "j, ↓")
 | 
					      , ("Down"   , "j, ↓")
 | 
				
			||||||
      , ("Rotate" , "k, ↑")
 | 
					      , ("Rotate" , "k, ↑")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue