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.

  1. channelMap :: RootResolverValue e (m :: Type -> Type) -> Maybe (Selection VALID -> ResolverState (Channel e))

    morpheus-graphql-app Data.Morpheus.App.Internal.Resolving

    No documentation available.

  2. queryResolverMap :: RootResolverValue e (m :: Type -> Type) -> ResolverMap (Resolver QUERY e m)

    morpheus-graphql-app Data.Morpheus.App.Internal.Resolving

    No documentation available.

  3. concatMap :: (a -> NonEmptyVector b) -> NonEmptyVector a -> NonEmptyVector b

    nonempty-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]
    

  4. imap :: (Int -> a -> b) -> NonEmptyVector a -> NonEmptyVector b

    nonempty-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]
    

  5. 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
    

  6. 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
    

  7. imapMaybe :: (Int -> a -> Maybe b) -> NonEmptyVector a -> Vector b

    nonempty-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]
    

  8. ObjectMap :: Map Object Object -> Object

    nvim-hs Neovim

    No documentation available.

  9. nvim_buf_del_keymap :: Buffer -> ByteString -> ByteString -> Neovim env ()

    nvim-hs Neovim.API.ByteString

    No documentation available.

  10. nvim_buf_get_keymap :: Buffer -> ByteString -> Neovim env (Vector (Map ByteString Object))

    nvim-hs Neovim.API.ByteString

    No documentation available.

Page 991 of many | Previous | Next