Hoogle Search
Within LTS Haskell 24.18 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setboolopt :: String -> RawOpts -> RawOptshledger-lib Hledger.Data.RawOptions No documentation available.
setopt :: String -> String -> RawOpts -> RawOptshledger-lib Hledger.Data.RawOptions No documentation available.
setResponse :: HttpStatusCode -> Declare (Definitions Schema) Response -> Swagger -> Swaggerswagger2 Data.Swagger.Operation Set response for all operations. This will also update global schema definitions. If the response already exists it will be overwritten.
setResponse = setResponseFor allOperations
Example:>>> let api = (mempty :: Swagger) & paths .~ IOHM.fromList [("/user", mempty & get ?~ mempty)] >>> let res = declareResponse (Proxy :: Proxy Day) >>> encode $ api & setResponse 200 res "{\"swagger\":\"2.0\",\"info\":{\"title\":\"\",\"version\":\"\"},\"paths\":{\"/user\":{\"get\":{\"responses\":{\"200\":{\"description\":\"\",\"schema\":{\"$ref\":\"#/definitions/Day\"}}}}}},\"definitions\":{\"Day\":{\"example\":\"2016-07-22\",\"format\":\"date\",\"type\":\"string\"}}}"See also setResponseWith.-
swagger2 Data.Swagger.Operation Set response for specified operations. This will also update global schema definitions. If the response already exists it will be overwritten. See also setResponseForWith.
-
swagger2 Data.Swagger.Operation Set or update response for specified operations. This will also update global schema definitions. If the response already exists, but it can't be dereferenced (invalid $ref), then just the new response is used. See also setResponseFor.
-
swagger2 Data.Swagger.Operation Set or update response for all operations. This will also update global schema definitions. If the response already exists, but it can't be dereferenced (invalid $ref), then just the new response is used.
setResponseWith = setResponseForWith allOperations
See also setResponse. -
HsYAML Data.YAML.Schema Set the Scalar style in the encoded YAML. This is a function that decides for each Scalar the type of YAML string to output. WARNING: You must ensure that special strings (like "true"/"false"/"null"/"1234") are not encoded with the Plain style, because then they will be decoded as boolean, null or numeric values. You can use isAmbiguous to detect them. NOTE: For different SchemaResolvers, different strings are ambiguous. For example, "true" is not ambiguous for failsafeSchemaResolver.
-
esqueleto Database.Esqueleto Set the backend's foreign key generation function to this value.
setEntityDBName :: EntityNameDB -> EntityDef -> EntityDefesqueleto Database.Esqueleto No documentation available.
setEntityId :: FieldDef -> EntityDef -> EntityDefesqueleto Database.Esqueleto