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.
-
leancheck Test.LeanCheck.Utils.TypeBinding Forces the result type of a 11-argument function.
-
leancheck Test.LeanCheck.Utils.TypeBinding Forces the type of the 12th argument.
-
leancheck Test.LeanCheck.Utils.TypeBinding Forces the result type of a 12-argument function.
-
relude Relude.Monad.Maybe Similar to fromMaybe but with flipped arguments.
>>> readMaybe "True" ?: False True
>>> readMaybe "Tru" ?: False False
(
/: ) :: (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(
=: ) :: forall (l :: Symbol) v . KnownSymbol l => Label l -> v -> ElField (l ::: v)vinyl Data.Vinyl.Derived Operator for creating an ElField. With the -XOverloadedLabels extension, this permits usage such as, #foo =: 23 to produce a value of type ElField ("foo" ::: Int).
(
=:= ) :: forall (s :: Symbol) a . KnownSymbol s => Label s -> a -> FieldRec '['(s, a)]vinyl Data.Vinyl.Derived Shorthand for a FieldRec with a single field.
type (rs :: [k])
<: (ss :: [k]) = rs ⊆ ssvinyl Data.Vinyl.Lens A non-unicode equivalent of (⊆).
type (rs :: [k])
<: (ss :: [k]) = rs ⊆ ssvinyl Data.Vinyl.Notation A non-unicode equivalent of (⊆).