fortytwo-0.0.3: Interactive terminal prompt
FortyTwo.Prompts.Confirm
Synopsis
confirm :: String -> IO Bool Source #
Ask a confirm question by default it will be true confirm "Do you like music?"
confirmWithDefault :: String -> Bool -> IO Bool Source #
Ask a confirm falling back to a default value if no answer will be provided confirmWithDefault "Do you like music?" True