fortytwo-1.0.6: Interactive terminal prompt
Safe HaskellSafe-Inferred
LanguageHaskell2010

FortyTwo.Prompts.Confirm

Synopsis

Documentation

confirm :: String -> IO Bool Source #

Ask a confirm question by default it will be true

confirmWithDefault :: String -> Bool -> IO Bool Source #

Ask a confirm falling back to a default value if no answer will be provided