implemented Mtlstats.Control.EditGoalie.ytdGamesC
This commit is contained in:
parent
3839d6dd32
commit
06348fe928
|
@ -79,7 +79,7 @@ lifetimeMenuC :: Controller
|
|||
lifetimeMenuC = menuControllerWith header editGoalieLtMenu
|
||||
|
||||
ytdGamesC :: Controller
|
||||
ytdGamesC = undefined
|
||||
ytdGamesC = promptController editGoalieYtdGamesPrompt
|
||||
|
||||
ytdMinsC :: Controller
|
||||
ytdMinsC = undefined
|
||||
|
|
|
@ -23,6 +23,7 @@ module Mtlstats.Prompt.EditGoalie
|
|||
( goalieToEditPrompt
|
||||
, editGoalieNumberPrompt
|
||||
, editGoalieNamePrompt
|
||||
, editGoalieYtdGamesPrompt
|
||||
) where
|
||||
|
||||
import Control.Monad.Trans.State (modify)
|
||||
|
@ -46,3 +47,7 @@ editGoalieNumberPrompt = numPrompt "Goalie number: " $
|
|||
editGoalieNamePrompt :: Prompt
|
||||
editGoalieNamePrompt = strPrompt "Goalie name: " $
|
||||
modify . editGoalieName
|
||||
|
||||
-- | Prompt to edit a goalie's YTD games played
|
||||
editGoalieYtdGamesPrompt :: Prompt
|
||||
editGoalieYtdGamesPrompt = undefined
|
||||
|
|
Loading…
Reference in New Issue
Block a user