Hoogle Search

Within LTS Haskell 24.28 (ghc-9.10.3)

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

  1. mapRowUnsafe :: forall (m :: Nat) (n :: Nat) a . (Int -> a -> a) -> Int -> Matrix m n a -> Matrix m n a

    matrix-static Data.Matrix.Static

    O(rows*cols). Map a function over a row. The bounds of the row parameter is not checked and might throw an error. Example:

    ( 1 2 3 )   ( 1 2 3 )
    ( 4 5 6 )   ( 5 6 7 )
    mapRowUnsafe (\_ x -> x + 1) 2 ( 7 8 9 ) = ( 7 8 9 )
    

  2. mapSub :: (actionA -> actionB) -> Sub actionA -> Sub actionB

    miso Miso.Effect

    Turn a subscription that consumes actions of type a into a subscription that consumes actions of type b using the supplied function of type a -> b.

  3. mapAccumL :: (a -> Char -> (a, Char)) -> a -> Text -> (a, Text)

    miso Miso.String

    O(n) Like a combination of map and foldl'. Applies a function to each element of a Text, passing an accumulating parameter from left to right, and returns a final Text. Performs replacement on invalid scalar values.

  4. mapAccumR :: (a -> Char -> (a, Char)) -> a -> Text -> (a, Text)

    miso Miso.String

    The mapAccumR function behaves like a combination of map and a strict foldr; it applies a function to each element of a Text, passing an accumulating parameter from right to left, and returning a final value of this accumulator together with the new Text. Performs replacement on invalid scalar values.

  5. mapAction :: (actionA -> actionB) -> Transition actionA model r -> Transition actionB model r

    miso Miso.Types

    Turn a transition that schedules subscriptions that consume actions of type a into a transition that schedules subscriptions that consume actions of type b using the supplied function of type a -> b.

  6. mapFirstSuspension :: forall s (m :: Type -> Type) x . (Functor s, Monad m) => (forall y . () => s y -> s y) -> Coroutine s m x -> Coroutine s m x

    monad-coroutine Control.Monad.Coroutine

    Modify the first upcoming suspension of a Coroutine.

  7. mapMonad :: forall (s :: Type -> Type) m m' x . (Functor s, Monad m, Monad m') => (forall y . () => m y -> m' y) -> Coroutine s m x -> Coroutine s m' x

    monad-coroutine Control.Monad.Coroutine

    Change the base monad of a Coroutine.

  8. mapSuspension :: forall s (m :: Type -> Type) s' x . (Functor s, Monad m) => (forall y . () => s y -> s' y) -> Coroutine s m x -> Coroutine s' m x

    monad-coroutine Control.Monad.Coroutine

    Change the suspension functor of a Coroutine.

  9. mapNestedSuspension :: forall (s0 :: Type -> Type) s (m :: Type -> Type) s' x . (Functor s0, Functor s, Monad m) => (forall y . () => s y -> s' y) -> Coroutine (Sum s0 s) m x -> Coroutine (Sum s0 s') m x

    monad-coroutine Control.Monad.Coroutine.Nested

    Change the suspension functor of a nested Coroutine.

  10. mapLogStrBS :: ToLogStr msg => (ByteString -> msg) -> LogStr -> LogStr

    monad-logger-extras Control.Monad.Logger.Extras

    Map a function over a log string.

Page 307 of many | Previous | Next