logic branch for database saving on new season

This commit is contained in:
Jonathan Lamothe
2020-01-14 02:42:30 -05:00
parent 3b4ce50ae8
commit 2bf8d15bd4
4 changed files with 18 additions and 14 deletions

View File

@@ -34,6 +34,7 @@ module Mtlstats.Prompt (
numPromptWithFallback,
selectPrompt,
-- * Individual prompts
newSeasonPrompt,
playerNumPrompt,
playerNamePrompt,
playerPosPrompt,
@@ -167,6 +168,11 @@ numPromptWithFallback pStr fallback act = Prompt
, promptSpecialKey = const $ return ()
}
-- | Prompts the user for a filename to save a backup of the database
-- to
newSeasonPrompt :: Prompt
newSeasonPrompt = undefined
-- | Builds a selection prompt
selectPrompt :: SelectParams a -> Prompt
selectPrompt params = Prompt