implemented editGoalieYtdMins

This commit is contained in:
Jonathan Lamothe
2019-11-14 01:11:50 -05:00
parent 0961f14c5f
commit 023430d737
2 changed files with 33 additions and 1 deletions

View File

@@ -63,7 +63,7 @@ editGoalieYtdMins
-- ^ The number of minutes played
-> ProgState
-> ProgState
editGoalieYtdMins = undefined
editGoalieYtdMins mins = editGoalie (gYtd.gsMinsPlayed .~ mins) EGYtd
editGoalie :: (Goalie -> Goalie) -> EditGoalieMode -> ProgState -> ProgState
editGoalie f mode s = fromMaybe s $ do