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

Safe HaskellNone
LanguageHaskell2010

Summoner.Question

Description

This module contains function to proper questioning in terminal.

Documentation

choose :: Show a => (Text -> Maybe a) -> Text -> [a] -> IO a Source #

chooseYesNo Source #

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] Source #