Client.Commands.Arguments.Spec
Description
type Args r = Ap (Arg r) Source #
simpleToken :: String -> Args r String Source #
remainingArg :: String -> Args r String Source #
optionalArg :: Args r a -> Args r (Maybe a) Source #
tokenList Source #
Arguments
required names
optional names
numberArg :: Args r Int Source #
optionalNumberArg :: Args r (Maybe Int) Source #
extensionArg :: String -> (r -> String -> Maybe (Args r a)) -> Args r a Source #
tokenArg :: String -> (r -> String -> Maybe a) -> Args r a Source #
data ArgumentShape Source #
Constructors
data Arg :: Type -> Type -> Type where Source #