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.

  1. 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.

  2. 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.

  3. 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.

  4. setUseRecordCons :: Bool -> MakeMessageOpts -> MakeMessageOpts

    classy-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.

  5. 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.

  6. setA :: Float -> Color -> Color

    clay Clay.Color

    No documentation available.

  7. setB :: Integer -> Color -> Color

    clay Clay.Color

    No documentation available.

  8. setG :: Integer -> Color -> Color

    clay Clay.Color

    No documentation available.

  9. setR :: Integer -> Color -> Color

    clay Clay.Color

    No documentation available.

  10. 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.

Page 871 of many | Previous | Next