ribosome-0.4.0.0: api extensions for nvim-hs
Safe HaskellNone
LanguageHaskell2010

Ribosome.Plugin.TH.Command

Documentation

data CmdParamType Source #

Constructors

PrimParam 
DataParam 
ListParam 

Instances

Instances details
Eq CmdParamType Source # 
Instance details

Defined in Ribosome.Plugin.TH.Command

Show CmdParamType Source # 
Instance details

Defined in Ribosome.Plugin.TH.Command

data CmdParams Source #

Instances

Instances details
Eq CmdParams Source # 
Instance details

Defined in Ribosome.Plugin.TH.Command

Show CmdParams Source # 
Instance details

Defined in Ribosome.Plugin.TH.Command

primDispatch :: [MatchQ] -> String -> Name -> Name -> Name -> [Name] -> Bool -> ExpQ Source #

newtype ArgNormalizer m Source #

Constructors

ArgNormalizer (Text -> [Object] -> m (Object, [Object])) 

rpc :: Monad m => MsgpackEncode a => Text -> ArgNormalizer m -> (Object -> [Object] -> Either Err (m a)) -> [Object] -> m Object Source #

command :: String -> Name -> [Name] -> HandlerParams -> PatQ -> (Name -> Name -> [Name] -> Bool -> ExpQ) -> ExpQ Source #