missing haddock comments
This commit is contained in:
parent
ab5408f464
commit
9f076db27b
|
@ -93,14 +93,17 @@ numPrompt pStr act = Prompt
|
||||||
, promptFunctionKey = const $ return ()
|
, promptFunctionKey = const $ return ()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-- | Prompts for the other team name
|
||||||
otherTeamPrompt :: Prompt
|
otherTeamPrompt :: Prompt
|
||||||
otherTeamPrompt = strPrompt "Other team: " $
|
otherTeamPrompt = strPrompt "Other team: " $
|
||||||
modify . (progMode . gameStateL . otherTeam .~)
|
modify . (progMode . gameStateL . otherTeam .~)
|
||||||
|
|
||||||
|
-- | Prompts for the home score
|
||||||
homeScorePrompt :: Prompt
|
homeScorePrompt :: Prompt
|
||||||
homeScorePrompt = numPrompt "Home score: " $
|
homeScorePrompt = numPrompt "Home score: " $
|
||||||
modify . (progMode . gameStateL . homeScore ?~)
|
modify . (progMode . gameStateL . homeScore ?~)
|
||||||
|
|
||||||
|
-- | Prompts for the away score
|
||||||
awayScorePrompt :: Prompt
|
awayScorePrompt :: Prompt
|
||||||
awayScorePrompt = numPrompt "Away score: " $
|
awayScorePrompt = numPrompt "Away score: " $
|
||||||
modify . (progMode . gameStateL . awayScore ?~)
|
modify . (progMode . gameStateL . awayScore ?~)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user