control flow branch for reading database

This commit is contained in:
Jonathan Lamothe
2020-03-11 03:20:38 -04:00
parent ffa241c1f7
commit 87336dcd1d
2 changed files with 13 additions and 6 deletions

View File

@@ -34,6 +34,7 @@ module Mtlstats.Prompt (
numPromptWithFallback,
selectPrompt,
-- * Individual prompts
getDBPrompt,
newSeasonPrompt,
playerNumPrompt,
playerNamePrompt,
@@ -224,6 +225,10 @@ selectPrompt params = Prompt
_ -> return ()
}
-- | Prompts for the database to load
getDBPrompt :: Prompt
getDBPrompt = undefined
-- | Prompts for a new player's number
playerNumPrompt :: Prompt
playerNumPrompt = numPrompt "Player number: " $