Hoogle Search
Within LTS Haskell 24.46 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setNormalization :: Bool -> Collator -> Collatorunicode-collation Text.Collate The Unicode Collation Algorithm expects input to be normalized into its canonical decomposition (NFD). By default, collators perform this normalization. If your input is already normalized, you can increase performance by disabling this step: setNormalization False.
setUpperBeforeLower :: Bool -> Collator -> Collatorunicode-collation Text.Collate Most collations default to sorting lowercase letters before uppercase (exceptions: mt, da, cu). To select the opposite behavior, use setUpperBeforeLower True.
setVariableWeighting :: VariableWeighting -> Collator -> Collatorunicode-collation Text.Collate Set method for handling variable elements (punctuation and spaces): see http://www.unicode.org/reports/tr10/, Tables 11 and 12.
setDescription :: Handler h m => Description -> h a awebgear-core WebGear.Core.Handler Set a description of a part of an API
setSummary :: Handler h m => Summary -> h a awebgear-core WebGear.Core.Handler Set a summary of a part of an API
-
webgear-core WebGear.Core.Trait Set a trait attribute t on the value Response `With` ts.
-
webgear-core WebGear.Core.Trait.Body Set the response body along with a media type. The MIME type mt is used to set the "Content-Type" header in the response. Usage:
let body :: SomeJSONType = ... response' <- setBody JSON -< (response, body)
-
webgear-core WebGear.Core.Trait.Body Set the response body without specifying any media type. Usage:
let body :: ResponseBody = ... response' <- setBodyWithoutContentType -< (response, body)
-
webgear-core WebGear.Core.Trait.Cookie Set a cookie value in a response. Example usage:
response' <- setCookie @"name" -< (response, cookie)
-
webgear-core WebGear.Core.Trait.Cookie Set an optional cookie value in a response. Setting the cookie to Nothing will remove it from the response if it was previously set. The cookie will be considered as optional in all relevant places (such as documentation). Example usage:
response' <- setOptionalCookie @"name" -< (response, cookie)