Hoogle Search
Within LTS Haskell 24.66 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
void :: Functor f => f a -> f ()nvim-hs Neovim void value discards or ignores the result of evaluation, such as the return value of an IO action.
Examples
Replace the contents of a Maybe Int with unit:>>> void Nothing Nothing
>>> void (Just 3) Just ()
Replace the contents of an Either Int Int with unit, resulting in an Either Int ():>>> void (Left 8675309) Left 8675309
>>> void (Right 8675309) Right ()
Replace every element of a list with unit:>>> void [1,2,3] [(),(),()]
Replace the second element of a pair with unit:>>> void (1,2) (1,())
Discard the result of an IO action:>>> mapM print [1,2] 1 2 [(),()]
>>> void $ mapM print [1,2] 1 2
NeovimValidation :: ByteString -> NeovimExceptionGennvim-hs Neovim.API.ByteString No documentation available.
buffer_is_valid :: Buffer -> Neovim env Boolnvim-hs Neovim.API.ByteString No documentation available.
-
nvim-hs Neovim.API.ByteString No documentation available.
nvim_buf_is_valid :: Buffer -> Neovim env Boolnvim-hs Neovim.API.ByteString No documentation available.
nvim_del_augroup_by_id :: Int64 -> Neovim env ()nvim-hs Neovim.API.ByteString No documentation available.
nvim_get_hl_by_id :: Int64 -> Bool -> Neovim env (Map ByteString Object)nvim-hs Neovim.API.ByteString No documentation available.
nvim_get_hl_id_by_name :: ByteString -> Neovim env Int64nvim-hs Neovim.API.ByteString No documentation available.
nvim_set_decoration_provider :: Int64 -> Map ByteString Object -> Neovim env ()nvim-hs Neovim.API.ByteString No documentation available.
nvim_strwidth :: ByteString -> Neovim env Int64nvim-hs Neovim.API.ByteString No documentation available.