Hoogle Search

Within LTS Haskell 24.34 (ghc-9.10.3)

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

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

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

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

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

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

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

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

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

    Map a function over a log string.

  8. mapExn :: forall e2 e1 (m :: Type -> Type) . (e2 -> e1) -> (e1 -> Maybe e2) -> Exn m e1 -> Exn m e2

    monadology Control.Monad.Ology.Data.Exn

    No documentation available.

  9. mapCont :: (r -> r) -> Cont r a -> Cont r a

    monadology Control.Monad.Ology.Specific.ContT

    Apply a function to transform the result of a continuation-passing computation.

  10. mapExcept :: (Either e a -> Either e' b) -> Except e a -> Except e' b

    monadology Control.Monad.Ology.Specific.ExceptT

    Map the unwrapped computation using the given function.

Page 308 of many | Previous | Next