Adds GHCup.Prompt modules and its types to project

This commit is contained in:
Arjun Kathuria
2022-06-25 13:44:25 +05:30
parent 028696d4be
commit c7eceb2330
3 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
module GHCup.Types.Prompts where
import Data.Text (Text)
type PromptQuestion = Text
data PromptResponse = PromptYes | PromptNo
deriving (Show, Eq)