implemented Mtlstats.Control.EditGoalie.ltGamesC

This commit is contained in:
Jonathan Lamothe 2019-11-14 02:09:20 -05:00
parent f97db477dd
commit 8c482ae785
2 changed files with 6 additions and 1 deletions

View File

@ -97,7 +97,7 @@ ytdTiesC :: Controller
ytdTiesC = promptController editGoalieYtdTiesPrompt ytdTiesC = promptController editGoalieYtdTiesPrompt
ltGamesC :: Controller ltGamesC :: Controller
ltGamesC = undefined ltGamesC = promptController editGoalieLtGamesPrompt
ltMinsC :: Controller ltMinsC :: Controller
ltMinsC = undefined ltMinsC = undefined

View File

@ -29,6 +29,7 @@ module Mtlstats.Prompt.EditGoalie
, editGoalieYtdWinsPrompt , editGoalieYtdWinsPrompt
, editGoalieYtdLossesPrompt , editGoalieYtdLossesPrompt
, editGoalieYtdTiesPrompt , editGoalieYtdTiesPrompt
, editGoalieLtGamesPrompt
) where ) where
import Control.Monad.Trans.State (modify) import Control.Monad.Trans.State (modify)
@ -82,3 +83,7 @@ editGoalieYtdLossesPrompt = numPrompt "Year-to-date losses: " $
editGoalieYtdTiesPrompt :: Prompt editGoalieYtdTiesPrompt :: Prompt
editGoalieYtdTiesPrompt = numPrompt "Year-to-date ties: " $ editGoalieYtdTiesPrompt = numPrompt "Year-to-date ties: " $
modify . editGoalieYtdTies modify . editGoalieYtdTies
-- | Prompt to edit a goalie's lifetime games played
editGoalieLtGamesPrompt :: Prompt
editGoalieLtGamesPrompt = undefined