implemented goalieIsActive

This commit is contained in:
Jonathan Lamothe
2019-11-28 05:12:59 -05:00
parent 3b6f77ba21
commit 4848e54d81
2 changed files with 20 additions and 1 deletions

View File

@@ -989,4 +989,4 @@ goalieSummary g = g^.gName ++ " (" ++ show (g^.gNumber) ++ ")"
-- | Determines whether or not a goalie has been active in the current
-- season
goalieIsActive :: Goalie -> Bool
goalieIsActive = undefined
goalieIsActive g = g^.gYtd.gsMinsPlayed /= 0