Hoogle Search

Within LTS Haskell 24.19 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. cmapM :: forall w (m :: Type -> Type) cx cy . (Get w m cx, Set w m cy, Members w m cx) => (cx -> SystemT w m cy) -> SystemT w m ()

    apecs Apecs.System

    Monadically iterates over all entites with a cx, and writes their cy.

  2. cmapM_ :: forall w (m :: Type -> Type) c . (Get w m c, Members w m c) => (c -> SystemT w m ()) -> SystemT w m ()

    apecs Apecs.System

    Monadically iterates over all entites with a cx

  3. imapM :: (Vector v a, Vector v b, Applicative f) => (Int -> a -> f b) -> v a -> f (v b)

    fixed-vector Data.Vector.Fixed

    Apply monadic function to every element of the vector and its index.

  4. imapM_ :: (Vector v a, Applicative f) => (Int -> a -> f b) -> v a -> f ()

    fixed-vector Data.Vector.Fixed

    Apply monadic function to every element of the vector and its index and discard result.

  5. imapM :: forall (n :: PeanoNum) f a b . (ArityPeano n, Applicative f) => (Int -> a -> f b) -> ContVec n a -> f (ContVec n b)

    fixed-vector Data.Vector.Fixed.Cont

    Apply monadic function to every element of the vector and its index.

  6. imapM_ :: forall (n :: PeanoNum) f a b . (ArityPeano n, Applicative f) => (Int -> a -> f b) -> ContVec n a -> f ()

    fixed-vector Data.Vector.Fixed.Cont

    Apply monadic action to each element of vector and its index and ignore result.

  7. imapMG :: (Vector v a, Vector w b, Dim w ~ Dim v, Monad m) => (Int -> a -> m b) -> v a -> m (w b)

    fixed-vector Data.Vector.Fixed.Generic

    Monadic map over vector.

  8. fixmapMask :: Word8

    messagepack Data.MessagePack.Spec

    No documentation available.

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

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

Page 87 of many | Previous | Next