implemented editGoalieYtdTies

This commit is contained in:
Jonathan Lamothe
2019-11-14 02:07:00 -05:00
parent 101f436424
commit f97db477dd
2 changed files with 33 additions and 1 deletions

View File

@@ -99,7 +99,7 @@ editGoalieYtdTies
-- ^ The number of ties
-> ProgState
-> ProgState
editGoalieYtdTies = undefined
editGoalieYtdTies ties = editGoalie (gYtd.gsTies .~ ties) EGYtd
editGoalie :: (Goalie -> Goalie) -> EditGoalieMode -> ProgState -> ProgState
editGoalie f mode s = fromMaybe s $ do