implemented Mtlstats.Control.EditGoalie.ltMinsC

This commit is contained in:
Jonathan Lamothe 2019-11-14 02:19:28 -05:00
parent afdb7653cd
commit 52d412942a
2 changed files with 6 additions and 1 deletions

View File

@ -100,7 +100,7 @@ ltGamesC :: Controller
ltGamesC = promptController editGoalieLtGamesPrompt ltGamesC = promptController editGoalieLtGamesPrompt
ltMinsC :: Controller ltMinsC :: Controller
ltMinsC = undefined ltMinsC = promptController editGoalieLtMinsPrompt
ltGoalsC :: Controller ltGoalsC :: Controller
ltGoalsC = undefined ltGoalsC = undefined

View File

@ -30,6 +30,7 @@ module Mtlstats.Prompt.EditGoalie
, editGoalieYtdLossesPrompt , editGoalieYtdLossesPrompt
, editGoalieYtdTiesPrompt , editGoalieYtdTiesPrompt
, editGoalieLtGamesPrompt , editGoalieLtGamesPrompt
, editGoalieLtMinsPrompt
) where ) where
import Control.Monad.Trans.State (modify) import Control.Monad.Trans.State (modify)
@ -88,3 +89,7 @@ editGoalieYtdTiesPrompt = numPrompt "Year-to-date ties: " $
editGoalieLtGamesPrompt :: Prompt editGoalieLtGamesPrompt :: Prompt
editGoalieLtGamesPrompt = numPrompt "Lifetime games played: " $ editGoalieLtGamesPrompt = numPrompt "Lifetime games played: " $
modify . editGoalieLtGames modify . editGoalieLtGames
-- | Prompt to edit a goalie's lifetime minutes played
editGoalieLtMinsPrompt :: Prompt
editGoalieLtMinsPrompt = undefined