Hoogle Search

Within LTS Haskell 24.33 (ghc-9.10.3)

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

  1. mapM_ :: (Foldable t, Monad m) => (a -> m b) -> t a -> m ()

    numhask NumHask.Prelude

    Map each element of a structure to a monadic action, evaluate these actions from left to right, and ignore the results. For a version that doesn't ignore the results see mapM. mapM_ is just like traverse_, but specialised to monadic actions.

  2. mapM_ :: (Foldable t, Monad m) => (a -> m b) -> t a -> m ()

    numhask NumHask.Prelude

    Map each element of a structure to a monadic action, evaluate these actions from left to right, and ignore the results. For a version that doesn't ignore the results see mapM. mapM_ is just like traverse_, but specialised to monadic actions.

  3. mappend :: Monoid a => a -> a -> a

    numhask NumHask.Prelude

    An associative operation NOTE: This method is redundant and has the default implementation mappend = (<>) since base-4.11.0.0. Should it be implemented manually, since mappend is a synonym for (<>), it is expected that the two functions are defined the same way. In a future GHC release mappend will be removed from Monoid.

  4. mapWithKey :: forall (n :: Natural) a b . (Fin n -> a -> b) -> FinMap n a -> FinMap n b

    parameterized-utils Data.Parameterized.FinMap.Safe

    No documentation available.

  5. mapWithKey :: forall (n :: Natural) a b . (Fin n -> a -> b) -> FinMap n a -> FinMap n b

    parameterized-utils Data.Parameterized.FinMap.Unsafe

    No documentation available.

  6. mapMaybeWithKey :: (forall (tp :: v) . () => k tp -> f tp -> Maybe (g tp)) -> MapF k f -> MapF k g

    parameterized-utils Data.Parameterized.Map

    Map keys and elements and collect Just results.

  7. mapWithKey :: (forall (tp :: v) . () => ktp tp -> f tp -> g tp) -> MapF ktp f -> MapF ktp g

    parameterized-utils Data.Parameterized.Map

    Apply function to all elements in map.

  8. mapSome :: (forall (tp :: k) . () => f tp -> g tp) -> Some f -> Some g

    parameterized-utils Data.Parameterized.Some

    Apply function to inner value.

  9. mapAt :: forall (i :: Natural) (w :: Natural) (n :: Natural) a . ((i + w) <= n, 1 <= w) => NatRepr i -> NatRepr w -> (Vector w a -> Vector w a) -> Vector n a -> Vector n a

    parameterized-utils Data.Parameterized.Vector

    Scope a function to a sub-section of the given vector.

  10. mapAtM :: forall m (i :: Natural) (w :: Natural) (n :: Natural) a . (Monad m, (i + w) <= n, 1 <= w) => NatRepr i -> NatRepr w -> (Vector w a -> m (Vector w a)) -> Vector n a -> m (Vector n a)

    parameterized-utils Data.Parameterized.Vector

    Scope a monadic function to a sub-section of the given vector.

Page 164 of many | Previous | Next