Hoogle Search

Within LTS Haskell 24.26 (ghc-9.10.3)

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

  1. mapContentMedia :: [(MediaType, b)] -> ByteString -> Maybe b

    http-media Network.HTTP.Media

    A specialisation of mapContent that only takes MediaType as its input, to avoid ambiguous-type errors when using string literal overloading.

    getContentType >>=
    maybe send415Error readRequestBodyWith . mapContentMedia
    [ ("application/json", parseJson)
    , ("text/plain",       parseText)
    ]
    

  2. mapQuality :: Accept a => [(a, b)] -> [Quality a] -> Maybe b

    http-media Network.HTTP.Media

    The equivalent of matchQuality above, except the resulting choice is mapped to another value. Convenient for specifying how to translate the resource into each of its available formats.

    parseQuality header >>= maybe render406Error renderResource . mapQuality
    [ ("text" // "html",        asHtml)
    , ("application" // "json", asJson)
    ]
    

  3. mapComposeT :: forall f (g :: (Type -> Type) -> Type -> Type) (m :: Type -> Type) a p (q :: (Type -> Type) -> Type -> Type) (n :: Type -> Type) b . (f (g m) a -> p (q n) b) -> ComposeT f g m a -> ComposeT p q n b

    mmorph Control.Monad.Trans.Compose

    Transform the computation inside a ComposeT.

  4. mapAccum :: (a -> b -> (a, c)) -> a -> CharMap b -> (a, CharMap c)

    regex-tdfa Data.IntMap.CharMap2

    No documentation available.

  5. mapAccumWithKey :: (a -> Key -> b -> (a, c)) -> a -> CharMap b -> (a, CharMap c)

    regex-tdfa Data.IntMap.CharMap2

    No documentation available.

  6. mapEither :: (a -> Either b c) -> CharMap a -> (CharMap b, CharMap c)

    regex-tdfa Data.IntMap.CharMap2

    No documentation available.

  7. mapEitherWithKey :: (Key -> a -> Either b c) -> CharMap a -> (CharMap b, CharMap c)

    regex-tdfa Data.IntMap.CharMap2

    No documentation available.

  8. mapMaybe :: (a -> Maybe b) -> CharMap a -> CharMap b

    regex-tdfa Data.IntMap.CharMap2

    No documentation available.

  9. mapMaybeWithKey :: (Key -> a -> Maybe b) -> CharMap a -> CharMap b

    regex-tdfa Data.IntMap.CharMap2

    No documentation available.

  10. mapWithKey :: (Key -> a -> b) -> CharMap a -> CharMap b

    regex-tdfa Data.IntMap.CharMap2

    No documentation available.

Page 114 of many | Previous | Next