Hoogle Search
Within LTS Haskell 24.41 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
(
/: ) :: (a -> b -> c) -> b -> a -> cservant-client-core Servant.Client.Core.HasClient Convenience function for supplying arguments to client functions when working with records of clients. Intended to be used in conjunction with (//). Example:
type Api = NamedRoutes RootApi data RootApi mode = RootApi { subApi :: mode :- Capture "token" String :> NamedRoutes SubApi , hello :: mode :- Capture "name" String :> Get '[JSON] String , … } deriving Generic data SubApi mode = SubApi { endpoint :: mode :- Get '[JSON] Person , … } deriving Generic api :: Proxy API api = Proxy rootClient :: RootApi (AsClientT ClientM) rootClient = client api hello :: String -> ClientM String hello name = rootClient // hello /: name endpointClient :: ClientM Person endpointClient = client // subApi /: "foobar123" // endpoint(
/: ) :: (a -> b -> c) -> b -> a -> cservant-client-core Servant.Client.Core.Reexport Convenience function for supplying arguments to client functions when working with records of clients. Intended to be used in conjunction with (//). Example:
type Api = NamedRoutes RootApi data RootApi mode = RootApi { subApi :: mode :- Capture "token" String :> NamedRoutes SubApi , hello :: mode :- Capture "name" String :> Get '[JSON] String , … } deriving Generic data SubApi mode = SubApi { endpoint :: mode :- Get '[JSON] Person , … } deriving Generic api :: Proxy API api = Proxy rootClient :: RootApi (AsClientT ClientM) rootClient = client api hello :: String -> ClientM String hello name = rootClient // hello /: name endpointClient :: ClientM Person endpointClient = client // subApi /: "foobar123" // endpoint(
.::. ) :: Tagged a b -> a -> bcrypto-api Crypto.Util Infix for operator
(
/: ) :: forall (scheme :: Scheme) . Url scheme -> Text -> Url schemereq Network.HTTP.Req A type-constrained version of (/~) to remove ambiguity in the cases when next URL piece is a Text literal.
(
=: ) :: (QueryParam param, ToHttpApiData a) => Text -> a -> paramreq Network.HTTP.Req This operator builds a query parameter that will be included in URL of your request after the question sign ?. This is the same syntax you use with form URL encoded request bodies. This operator is defined in terms of queryParam:
name =: value = queryParam name (pure value)
(
<:> ) :: HeaderName -> ByteString -> MatchHeaderhspec-wai Test.Hspec.Wai No documentation available.
(
<:> ) :: HeaderName -> ByteString -> MatchHeaderhspec-wai Test.Hspec.Wai.Matcher No documentation available.
(
..: ) :: Index ix => ix -> ix -> Array D ix ixmassiv Data.Massiv.Array >>> Ix1 4 ..: 10 Array D Seq (Sz1 6) [ 4, 5, 6, 7, 8, 9 ]
(
..: ) :: Index ix => ix -> ix -> Array D ix ixmassiv Data.Massiv.Vector >>> Ix1 4 ..: 10 Array D Seq (Sz1 6) [ 4, 5, 6, 7, 8, 9 ]
-
monoid-extras Data.Monoid.MList No documentation available.