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

FortyTwo.Prompts.Input

Synopsis

Documentation

inputWithDefault :: MonadIO m => String -> String -> m String Source #

Ask a simple input question falling back to a default value if no answer will be provided inputWithDefault "What is your name?" "The Dude"

input :: MonadIO m => String -> m String Source #

Simple input question input "What is your name?"