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.
unmapDict :: (Dict a -> Dict b) -> a :- bconstraints Data.Constraint This functor is fully faithful, which is to say that given any function you can write Dict a -> Dict b there also exists an entailment a :- b in the category of constraints that you can build.
eventStreamAppRaw :: ((ServerEvent -> IO ()) -> IO () -> IO ()) -> Applicationwai-extra Network.Wai.EventSource Make a new WAI EventSource application with a handler that emits events.
type
HeaderMap = Map HeaderName HandleTypewai-extra Network.Wai.Middleware.CombineHeaders The mapping of HeaderName to HandleType
-
wai-extra Network.Wai.Middleware.CombineHeaders The default collection of HTTP headers that can be combined in case there are multiples in one request or response. See the documentation of defaultCombineSettings for the exact list.
setHeaderMap :: HeaderMap -> CombineSettings -> CombineSettingswai-extra Network.Wai.Middleware.CombineHeaders Override the HeaderMap of the CombineSettings (default: defaultHeaderMap)
-
This module gives you a way to mount applications under sub-URIs. For example:
bugsApp, helpdeskApp, apiV1, apiV2, mainApp :: Application myApp :: Application myApp = mapUrls $ mount "bugs" bugsApp <|> mount "helpdesk" helpdeskApp <|> mount "api" ( mount "v1" apiV1 <|> mount "v2" apiV2 ) <|> mountRoot mainApp
type
UrlMap = UrlMap' Applicationwai-extra Network.Wai.UrlMap No documentation available.
-
wai-extra Network.Wai.UrlMap No documentation available.
comapM :: (Distributive g, Monad m) => (m a -> b) -> m (g a) -> g bdistributive Data.Distributive The dual of mapM
comapM f = fmap f . distributeM
bimapForest :: (a -> b) -> (c -> d) -> [Tree a c] -> [Tree b d]hspec-core Test.Hspec.Core.Spec No documentation available.