implemented Mtlstats.Control.EditGoalie.ytdTiesC

This commit is contained in:
Jonathan Lamothe 2019-11-14 02:00:10 -05:00
parent 4655cb37b9
commit b8aa00aa81
2 changed files with 6 additions and 1 deletions

View File

@ -94,7 +94,7 @@ ytdLossesC :: Controller
ytdLossesC = promptController editGoalieYtdLossesPrompt ytdLossesC = promptController editGoalieYtdLossesPrompt
ytdTiesC :: Controller ytdTiesC :: Controller
ytdTiesC = undefined ytdTiesC = promptController editGoalieYtdTiesPrompt
ltGamesC :: Controller ltGamesC :: Controller
ltGamesC = undefined ltGamesC = undefined

View File

@ -28,6 +28,7 @@ module Mtlstats.Prompt.EditGoalie
, editGoalieYtdGoalsPrompt , editGoalieYtdGoalsPrompt
, editGoalieYtdWinsPrompt , editGoalieYtdWinsPrompt
, editGoalieYtdLossesPrompt , editGoalieYtdLossesPrompt
, editGoalieYtdTiesPrompt
) where ) where
import Control.Monad.Trans.State (modify) import Control.Monad.Trans.State (modify)
@ -76,3 +77,7 @@ editGoalieYtdWinsPrompt = numPrompt "Year-to-date wins: " $
editGoalieYtdLossesPrompt :: Prompt editGoalieYtdLossesPrompt :: Prompt
editGoalieYtdLossesPrompt = numPrompt "Year-to-date losses: " $ editGoalieYtdLossesPrompt = numPrompt "Year-to-date losses: " $
modify . editGoalieYtdLosses modify . editGoalieYtdLosses
-- | Prompt to edit a goalie's YTD ties
editGoalieYtdTiesPrompt :: Prompt
editGoalieYtdTiesPrompt = undefined