Hoogle Search
Within LTS Haskell 24.68 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setUltDest :: (MonadHandler m, RedirectUrl (HandlerSite m) url) => url -> m ()classy-prelude-yesod ClassyPrelude.Yesod Sets the ultimate destination variable to the given route. An ultimate destination is stored in the user session and can be loaded later by redirectUltDest.
setUltDestCurrent :: MonadHandler m => m ()classy-prelude-yesod ClassyPrelude.Yesod Same as setUltDest, but uses the current page. If this is a 404 handler, there is no current page, and then this call does nothing.
setUltDestReferer :: MonadHandler m => m ()classy-prelude-yesod ClassyPrelude.Yesod Sets the ultimate destination to the referer request header, if present. This function will not overwrite an existing ultdest.
setUseRecordCons :: Bool -> MakeMessageOpts -> MakeMessageOptsclassy-prelude-yesod ClassyPrelude.Yesod Set whether to use record constructors or normal constructors. If you are getting partial-fields warnings you want to remove, set this to False. If you want to use record syntax, set this to True.
setWeakEtag :: MonadHandler m => Text -> m ()classy-prelude-yesod ClassyPrelude.Yesod Check the if-none-match header and, if it matches the given value, return a 304 not modified response. Otherwise, set the etag header to the given value. A weak etag is only expected to be semantically identical to the prior content, but doesn't have to be byte-for-byte identical. Therefore it can be useful for dynamically generated content that may be difficult to perform bytewise hashing upon. Note that it is the responsibility of the caller to ensure that the provided value is a valid etag value, no sanity checking is performed by this function.
setA :: Float -> Color -> Colorclay Clay.Color No documentation available.
setB :: Integer -> Color -> Colorclay Clay.Color No documentation available.
setG :: Integer -> Color -> Colorclay Clay.Color No documentation available.
setR :: Integer -> Color -> Colorclay Clay.Color No documentation available.
setDatasetName :: Dataset -> Program τ ()core-telemetry Core.Telemetry.Honeycomb Override the dataset being used for telemetry. Under normal circumstances this shouldn't be necessary. The default dataset for your program's telemetry is set by the infrastructure using the --dataset= command-line option, and typically matches the single service name set by setServiceName. For most applications this is sufficient. There are, however, times when you need to send events or spans to a different dataset. If there are two completely unrelated behaviours in a given application that occur with wildly different latency ranges then you may find it appropriate to segment the telemetry into two different datasets. This override will be inherited by any spans that come into scope below the one where this is called.