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

Ribosome.Api.Exists

Documentation

data Retry Source #

Constructors

Retry Int Double 

Instances

Instances details
Show Retry Source # 
Instance details

Defined in Ribosome.Api.Exists

Methods

showsPrec :: Int -> Retry -> ShowS #

show :: Retry -> String #

showList :: [Retry] -> ShowS #

Default Retry Source # 
Instance details

Defined in Ribosome.Api.Exists

Methods

def :: Retry #

retry :: MonadIO f => f a -> (a -> f (Either c b)) -> Retry -> f (Either c b) Source #

waitFor :: NvimE e m => MonadIO m => m Object -> (Object -> m (Either (Doc AnsiStyle) b)) -> Retry -> m (Either (Doc AnsiStyle) b) Source #

function :: NvimE e m => Text -> m Bool Source #

waitForFunctionResult :: NvimE e m => MonadIO m => Eq a => Show a => MsgpackDecode a => Text -> a -> Retry -> m (Either (Doc AnsiStyle) ()) Source #