Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Special command parameter that exposes the used modifiers.
Synopsis
- newtype CommandMods = CommandMods {}
Documentation
newtype CommandMods Source #
When this type is used as a parameter of a command handler function, the RPC trigger uses the special token
q-mods
in the call.
This type then contains the list of pre-command modifiers specified by the user, like :belowright
.
Instances
Show CommandMods Source # | |
Defined in Ribosome.Host.Data.CommandMods showsPrec :: Int -> CommandMods -> ShowS # show :: CommandMods -> String # showList :: [CommandMods] -> ShowS # | |
Eq CommandMods Source # | |
Defined in Ribosome.Host.Data.CommandMods (==) :: CommandMods -> CommandMods -> Bool # (/=) :: CommandMods -> CommandMods -> Bool # | |
MsgpackDecode CommandMods Source # | |
Defined in Ribosome.Host.Data.CommandMods | |
BeforeRegular al CommandMods => SpecialParam ('OptionState al c ac) CommandMods Source # | |
Defined in Ribosome.Host.Handler.Command type TransSpecial ('OptionState al c ac) CommandMods :: OptionState Source # | |
type TransSpecial ('OptionState al c ac) CommandMods Source # | |
Defined in Ribosome.Host.Handler.Command |