glirc-2.33.1: Console IRC client
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 #
data ArgumentShape Source #
Constructors
data Arg :: * -> * -> * where Source #