Hoogle Search

Within LTS Haskell 24.41 (ghc-9.10.3)

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

  1. rmapStencil :: (a -> b) -> Stencil ix e a -> Stencil ix e b

    massiv Data.Massiv.Array.Stencil

    A covariant map over the right most type argument. In other words the usual fmap from Functor:

    fmap == rmapStencil
    

  2. simap :: Stream r ix a => (ix -> a -> b) -> Array r ix a -> Vector DS b

    massiv Data.Massiv.Vector

    Map an index aware function over a stream vector

    Examples

  3. simapM :: forall r ix a b m . (Stream r ix a, Monad m) => (ix -> a -> m b) -> Array r ix a -> m (Vector DS b)

    massiv Data.Massiv.Vector

    Traverse a stream vector with a monadic index aware function. Corresponds to: mapM (uncurry f) . imap (,) v

    Examples

  4. simapM_ :: forall r ix a b m . (Stream r ix a, Monad m) => (ix -> a -> m b) -> Array r ix a -> m ()

    massiv Data.Massiv.Vector

    Traverse a stream vector with a monadic index aware function, while discarding the result

    Examples

  5. simapMaybe :: Stream r ix a => (ix -> a -> Maybe b) -> Array r ix a -> Vector DS b

    massiv Data.Massiv.Vector

    Similar to smapMaybe, but map with an index aware function.

    Examples

  6. simapMaybeM :: forall r ix a b f . (Stream r ix a, Applicative f) => (ix -> a -> f (Maybe b)) -> Array r ix a -> f (Vector DS b)

    massiv Data.Massiv.Vector

    Similar to smapMaybeM, but map with an index aware function.

    Examples

  7. smap :: Stream r ix a => (a -> b) -> Array r ix a -> Vector DS b

    massiv Data.Massiv.Vector

    Map a function over a stream vector

    Examples

  8. smapM :: forall r ix a b m . (Stream r ix a, Monad m) => (a -> m b) -> Array r ix a -> m (Vector DS b)

    massiv Data.Massiv.Vector

    Traverse a stream vector with a monadic function.

    Examples

  9. smapM_ :: forall r ix a b m . (Stream r ix a, Monad m) => (a -> m b) -> Array r ix a -> m ()

    massiv Data.Massiv.Vector

    Traverse a stream vector with a monadic function, while discarding the result

    Examples

  10. smapMaybe :: Stream r ix a => (a -> Maybe b) -> Array r ix a -> Vector DS b

    massiv Data.Massiv.Vector

    Apply a function to each element of the array, while discarding Nothing and keeping the Maybe result.

    Examples

Page 569 of many | Previous | Next