Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
askTextArgDefault :: Members [Input MetaArguments, FatalError, Log] r => Text -> Text -> Sem r Text #
askTextArg :: Members [Input MetaArguments, FatalError, Log] r => Text -> Sem r Text #
askTextArgMb :: Members [Input MetaArguments, FatalError, Log] r => Text -> Sem r (Maybe Text) #
parseTextArg :: Member FatalError r => Text -> Value -> Sem r Text #
askBoolArgDefault :: Members [Input MetaArguments, FatalError, Log] r => Bool -> Text -> Sem r Bool #
askBoolArg :: Members [Input MetaArguments, FatalError, Log] r => Text -> Sem r Bool #
askBoolArgMb :: Members [Input MetaArguments, FatalError, Log] r => Text -> Sem r (Maybe Bool) #
parseBoolArg :: Member FatalError r => Text -> Value -> Sem r Bool #
askNumArgDefault :: Members [Input MetaArguments, FatalError, Log] r => Scientific -> Text -> Sem r Scientific #
askNumArg :: Members [Input MetaArguments, FatalError, Log] r => Text -> Sem r Scientific #
askNumArgMb :: Members [Input MetaArguments, FatalError, Log] r => Text -> Sem r (Maybe Scientific) #
parseNumArg :: Member FatalError r => Text -> Value -> Sem r Scientific #
askArg :: (FromJSON a, Members [Input MetaArguments, FatalError, Log] r) => Text -> Sem r a #
askArgMb :: (FromJSON a, Members [Input MetaArguments, FatalError, Log] r) => Text -> Sem r (Maybe a) #
lookupRequiredArg :: Members [Input MetaArguments, Log, FatalError] r => Text -> Sem r Value #
withTypedArg :: forall a b r. (Members [Input MetaArguments, FatalError] r, FromJSON a, Typeable a) => (a -> Sem r b) -> Sem r b #