Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Special command parameter that activates the bang modifier.
Documentation
When this type is used as a parameter of a command handler function, the command is declared with the -bang
option, and when invoked, the argument passed to the handler is Bang
if the user specified the !
and NoBang
otherwise.
Instances
Show Bang Source # | |
Eq Bang Source # | |
MsgpackDecode Bang Source # | |
Defined in Ribosome.Host.Data.Bang fromMsgpack :: Object -> Either DecodeError Bang Source # | |
Member (Stop Report) r => HandlerArg Bang r Source # | |
Defined in Ribosome.Host.Handler.Codec | |
BeforeRegular al Bang => SpecialParam ('OptionState al c ac) Bang Source # | |
Defined in Ribosome.Host.Handler.Command type TransSpecial ('OptionState al c ac) Bang :: OptionState Source # | |
type TransSpecial ('OptionState al c ac) Bang Source # | |
Defined in Ribosome.Host.Handler.Command |