fortytwo-0.0.1: Interactive terminal prompt

Safe HaskellSafe
LanguageHaskell2010

FortyTwo.Prompts.Input

Synopsis

Documentation

inputWithDefault :: String -> String -> IO 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 :: String -> IO String Source #

Simple input question input "What is your name?"