Hoogle Search
Within LTS Haskell 24.50 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
servant Servant.API.Modifiers Helper type alias. By default argument is Optional and Strict.
-
servant Servant.API.Modifiers Required argument. Not wrapped.
type
RequiredArgument (mods :: [Type]) a = If FoldRequired mods a Maybe aservant Servant.API.Modifiers Helper type alias.
-
servant Servant.API.Modifiers Fold a RequiredAgument into a value
-
servant Servant.API.Modifiers Unfold a value into a RequestArgument.
-
servant Servant.API.Modifiers Unfold a value into a RequiredArgument.
-
No documentation available.
type
ReqBody = ReqBody' '[Required, Strict]servant Servant.API.ReqBody Extract the request body as a value of type a. Example:
>>> -- POST /books >>> type MyApi = "books" :> ReqBody '[JSON] Book :> Post '[JSON] Book
data
ReqBody' (mods :: [Type]) (contentTypes :: [Type]) aservant Servant.API.ReqBody liftEqDefault :: (GEq1 NonV4 (Rep1 f), Generic1 f) => (a -> b -> Bool) -> f a -> f b -> Booltransformers-compat Data.Functor.Classes.Generic A sensible default liftEq implementation for Generic1 instances.