Hoogle Search
Within LTS Haskell 24.32 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
mapRequestHeaders :: (RequestHeaders -> RequestHeaders) -> Request -> Requestwai Network.Wai Apply the provided function to the request header list of the Request.
mapResponseHeaders :: (ResponseHeaders -> ResponseHeaders) -> Response -> Responsewai Network.Wai Apply the provided function to the response header list of the Response.
mapResponseStatus :: (Status -> Status) -> Response -> Responsewai Network.Wai Apply the provided function to the response status of the Response.
-
gogol-core Gogol.Prelude mapConcurrently :: (MonadUnliftIO m, Traversable t) => (a -> m b) -> t a -> m (t b)unliftio UnliftIO.Async Executes a Traversable container of items concurrently, it uses the Flat type internally.
mapConcurrently_ :: (MonadUnliftIO m, Foldable f) => (a -> m b) -> f a -> m ()unliftio UnliftIO.Async Executes a Traversable container of items concurrently, it uses the Flat type internally. This function ignores the results.
mapExceptionM :: (Exception e1, Exception e2, MonadUnliftIO m) => (e1 -> e2) -> m a -> m aunliftio UnliftIO.Exception Same as mapException, except works in a monadic context.
mapConcurrently :: (MonadUnliftIO m, Traversable t) => (a -> m b) -> t a -> m (t b)unliftio UnliftIO.Internals.Async Executes a Traversable container of items concurrently, it uses the Flat type internally.
mapConcurrently_ :: (MonadUnliftIO m, Foldable f) => (a -> m b) -> f a -> m ()unliftio UnliftIO.Internals.Async Executes a Traversable container of items concurrently, it uses the Flat type internally. This function ignores the results.
mapMaybe :: (MonadGen m, GenBase m ~ Identity) => (a -> Maybe b) -> m a -> m bhedgehog Hedgehog.Gen Generates a value which is the result of the given function returning a Just. The original generator's shrink tree will be retained, with values returning Nothing removed. Subsequent shrinks of those values will be retained. Compared to mapMaybeT, shrinking may be slower but will be optimal. It's possible that the function will never return Just, or will only do so a larger size than we're currently running at. To avoid looping forever, we limit the number of retries, and grow the size with each retry. If we retry too many times then the whole generator is discarded.