digestive-functors-0.0.1: A general way to consume input using applicative functors
Text.Digestive.Cli
Description
Proof-of-concept module: use digestive functors for a command line interface prompt
newtype Descriptions Source
Constructors
Fields
Instances
type Prompt a = Form IO String String Descriptions aSource
prompt :: String -> Prompt StringSource
runPrompt :: Prompt a -> IO aSource