Hoogle Search
Within LTS Haskell 24.45 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
imapM_ :: Monad m => (Int -> a -> m b) -> NonEmptyVector a -> m ()nonempty-vector Data.Vector.NonEmpty O(n) Apply the monadic action to every element of a non-emptpy vector and its index, ignoring the results
>>> imapM_ (\i a -> if i == 1 then P.print a else P.putStrLn "0") (unsafeFromList [1..3]) 0 2 0
>>> imapM_ (\_ _ -> Nothing) (unsafeFromList [1..3]) Nothing
imapMaybe :: (Int -> a -> Maybe b) -> NonEmptyVector a -> Vector bnonempty-vector Data.Vector.NonEmpty O(n) Drop elements when predicate, applied to index and value, returns Nothing If no elements satisfy the predicate, the resulting vector may be empty.
>>> imapMaybe (\i a -> if a == 2 || i == 2 then Nothing else Just a) (unsafeFromList [1..3]) [1]
ObjectMap :: Map Object Object -> Objectnvim-hs Neovim No documentation available.
nvim_buf_del_keymap :: Buffer -> ByteString -> ByteString -> Neovim env ()nvim-hs Neovim.API.ByteString No documentation available.
nvim_buf_get_keymap :: Buffer -> ByteString -> Neovim env (Vector (Map ByteString Object))nvim-hs Neovim.API.ByteString No documentation available.
-
nvim-hs Neovim.API.ByteString No documentation available.
nvim_del_keymap :: ByteString -> ByteString -> Neovim env ()nvim-hs Neovim.API.ByteString No documentation available.
nvim_get_color_map :: Neovim env (Map ByteString Object)nvim-hs Neovim.API.ByteString No documentation available.
nvim_get_keymap :: ByteString -> Neovim env (Vector (Map ByteString Object))nvim-hs Neovim.API.ByteString No documentation available.
nvim_set_keymap :: ByteString -> ByteString -> ByteString -> Map ByteString Object -> Neovim env ()nvim-hs Neovim.API.ByteString No documentation available.