implemented basic logic for generating goalie reports

This commit is contained in:
Jonathan Lamothe
2019-11-28 05:05:52 -05:00
parent e7606c8a5e
commit 3b6f77ba21
2 changed files with 54 additions and 11 deletions
+7 -1
View File
@@ -170,7 +170,8 @@ module Mtlstats.Types (
-- ** Goalie Helpers
goalieSearch,
goalieSearchExact,
goalieSummary
goalieSummary,
goalieIsActive
) where
import Control.Monad.Trans.State (StateT)
@@ -984,3 +985,8 @@ goalieSearchExact sStr goalies = let
-- | Provides a description string for a 'Goalie'
goalieSummary :: Goalie -> String
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