Safe Haskell | None |
---|---|
Language | Haskell2010 |
Buchhaltung.Ask
Documentation
Arguments
:: MonadException m | |
=> (T.Text -> Either String c) | input to value extractor |
-> String | history File suffix |
-> Maybe (c, T.Text) | Default value and its string |
-> Maybe [T.Text] | completion list |
-> Either T.Text T.Text | use promtp: Left promp ++ [Def]:, or Right prompt |
-> Maybe T.Text | intitial readline text |
-> m c |
Arguments
:: MonadException m | |
=> (T.Text -> m (Either String c)) | input to value extractor |
-> String | history File suffix |
-> Maybe (c, T.Text) | Default value and its string |
-> Maybe [T.Text] | completion list |
-> Either T.Text T.Text | use promtp: Left promp ++ [Def]:, or Right prompt |
-> Maybe T.Text | intitial readline text |
-> m c |
runInputT2 :: MonadException m => Settings m -> InputT m a -> m a Source #
Arguments
:: [AccountName] | completion list |
-> Maybe AccountName | default value, if "" is entered |
-> Maybe String | history file suffix |
-> Either T.Text T.Text | prompt |
-> IO AccountName |
revAccount2 :: T.Text -> T.Text Source #