implemented Mtlstats.Control.EditGoalie.ltGoalsC

This commit is contained in:
Jonathan Lamothe 2019-11-14 02:28:53 -05:00
parent 3a1480115d
commit 846d034435
2 changed files with 6 additions and 1 deletions

View File

@ -103,7 +103,7 @@ ltMinsC :: Controller
ltMinsC = promptController editGoalieLtMinsPrompt
ltGoalsC :: Controller
ltGoalsC = undefined
ltGoalsC = promptController editGoalieLtGoalsPrompt
ltWinsC :: Controller
ltWinsC = undefined

View File

@ -31,6 +31,7 @@ module Mtlstats.Prompt.EditGoalie
, editGoalieYtdTiesPrompt
, editGoalieLtGamesPrompt
, editGoalieLtMinsPrompt
, editGoalieLtGoalsPrompt
) where
import Control.Monad.Trans.State (modify)
@ -94,3 +95,7 @@ editGoalieLtGamesPrompt = numPrompt "Lifetime games played: " $
editGoalieLtMinsPrompt :: Prompt
editGoalieLtMinsPrompt = numPrompt "Lifetime minutes played: " $
modify . editGoalieLtMins
-- | Prompt to edit a goalie's lifetime goals allowed
editGoalieLtGoalsPrompt :: Prompt
editGoalieLtGoalsPrompt = undefined