ribosome-host-0.9.9.9: Neovim plugin host for Polysemy
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ribosome.Host.Data.Bang

Description

Special command parameter that activates the bang modifier.

Synopsis

Documentation

data Bang Source #

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.

Constructors

Bang

Bang was used.

NoBang

Bang was not used.

Instances

Instances details
Show Bang Source # 
Instance details

Defined in Ribosome.Host.Data.Bang

Methods

showsPrec :: Int -> Bang -> ShowS #

show :: Bang -> String #

showList :: [Bang] -> ShowS #

Eq Bang Source # 
Instance details

Defined in Ribosome.Host.Data.Bang

Methods

(==) :: Bang -> Bang -> Bool #

(/=) :: Bang -> Bang -> Bool #

MsgpackDecode Bang Source # 
Instance details

Defined in Ribosome.Host.Data.Bang

Member (Stop Report) r => HandlerArg Bang r Source # 
Instance details

Defined in Ribosome.Host.Handler.Codec

Methods

handlerArg :: [Object] -> Sem r ([Object], Bang) Source #

BeforeRegular al Bang => SpecialParam ('OptionState al c ac) Bang Source # 
Instance details

Defined in Ribosome.Host.Handler.Command

Associated Types

type TransSpecial ('OptionState al c ac) Bang :: OptionState Source #

type TransSpecial ('OptionState al c ac) Bang Source # 
Instance details

Defined in Ribosome.Host.Handler.Command

type TransSpecial ('OptionState al c ac) Bang = 'OptionState al c ac