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

FortyTwo.Prompts.Confirm

Synopsis

Documentation

confirm :: MonadIO m => String -> m Bool Source #

Ask a confirm question by default it will be true

confirmWithDefault :: MonadIO m => String -> Bool -> m Bool Source #

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