Hoogle Search
Within LTS Haskell 24.40 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
morpheus-graphql-app Data.Morpheus.App.Internal.Resolving No documentation available.
queryResolverMap :: RootResolverValue e (m :: Type -> Type) -> ResolverMap (Resolver QUERY e m)morpheus-graphql-app Data.Morpheus.App.Internal.Resolving No documentation available.
concatMap :: (a -> NonEmptyVector b) -> NonEmptyVector a -> NonEmptyVector bnonempty-vector Data.Vector.NonEmpty Map a function over a vector and concatenate the results.
>>> concatMap (\a -> unsafeFromList [a,a]) (unsafeFromList [1,2,3]) [1,1,2,2,3,3]
imap :: (Int -> a -> b) -> NonEmptyVector a -> NonEmptyVector bnonempty-vector Data.Vector.NonEmpty O(n) Apply a function to every element of a non-empty vector and its index.
>>> imap (\i a -> if i == 2 then a+1 else a+0) $ unsafeFromList [1..3] [1,2,4]
imapM :: Monad m => (Int -> a -> m b) -> NonEmptyVector a -> m (NonEmptyVector b)nonempty-vector Data.Vector.NonEmpty O(n) Apply the monadic action to every element of a non-empty vector and its index, yielding a non-empty vector of results.
>>> imapM (\i a -> if i == 1 then Just a else Just 0) (unsafeFromList [1..3]) Just [0,2,0]
>>> imapM (\_ _ -> Nothing) (unsafeFromList [1..3]) Nothing
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.