summoner-1.0.4: Tool for creating completely configured production Haskell projects.

Safe HaskellNone
LanguageHaskell2010

Summoner.Question

Description

This module contains function to proper questioning in terminal.

Documentation

printQuestion :: Text -> [Text] -> IO () #

choose :: Text -> [Text] -> IO Text #

chooseYesNo #

Arguments

:: Text

target

-> IO a

action for Y answer

-> IO a

action for N answer

-> IO a 

queryManyRepeatOnFail :: forall a. (Text -> Maybe a) -> IO [a] #