implement player edit menu

This commit is contained in:
Jonathan Lamothe
2019-11-01 05:24:18 -04:00
parent 5bb4e509b8
commit 0194f68996
3 changed files with 42 additions and 2 deletions

View File

@@ -153,6 +153,7 @@ module Mtlstats.Types (
playerSearchExact,
modifyPlayer,
playerSummary,
playerDetails,
playerIsActive,
-- ** PlayerStats Helpers
psPoints,
@@ -860,6 +861,10 @@ playerSummary :: Player -> String
playerSummary p =
p^.pName ++ " (" ++ show (p^.pNumber) ++ ") " ++ p^.pPosition
-- | Provides a detailed string describing a 'Player'
playerDetails :: Player -> String
playerDetails = undefined
-- | Determines whether or not a player has been active in the current
-- season/year
playerIsActive :: Player -> Bool