Hoogle Search

Within LTS Haskell 24.34 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. setSessionBS :: MonadHandler m => Text -> ByteString -> m ()

    yesod-core Yesod.Core.Handler

    Same as setSession, but uses binary data for the value.

  2. setUltDest :: (MonadHandler m, RedirectUrl (HandlerSite m) url) => url -> m ()

    yesod-core Yesod.Core.Handler

    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.

  3. setUltDestCurrent :: MonadHandler m => m ()

    yesod-core Yesod.Core.Handler

    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.

  4. setUltDestReferer :: MonadHandler m => m ()

    yesod-core Yesod.Core.Handler

    Sets the ultimate destination to the referer request header, if present. This function will not overwrite an existing ultdest.

  5. setWeakEtag :: MonadHandler m => Text -> m ()

    yesod-core Yesod.Core.Handler

    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. setDescription :: MonadWidget m => Text -> m ()

    yesod-core Yesod.Core.Widget

    Warning: setDescription is not idempotent; we recommend setDescriptionIdemp insteadMultiple calls to setDescription will insert multiple meta tags in the page head.If you want an idempotent function, use setDescriptionIdemp - but if you do, you may need to change your layout to include pageDescription.

  7. setDescriptionI :: (MonadWidget m, RenderMessage (HandlerSite m) msg) => msg -> m ()

    yesod-core Yesod.Core.Widget

    Warning: setDescriptionI is not idempotent; we recommend setDescriptionIdempI insteadMultiple calls to setDescriptionI will insert multiple meta tags in the page head.If you want an idempotent function, use setDescriptionIdempI - but if you do, you may need to change your layout to include pageDescription.

  8. setDescriptionIdemp :: MonadWidget m => Text -> m ()

    yesod-core Yesod.Core.Widget

    Add description meta tag to the head of the page Google does not use the description tag as a ranking signal, but the contents of this tag will likely affect your click-through rate since it shows up in search results. The average length of the description shown in Google's search results is about 160 characters on desktop, and about 130 characters on mobile, at time of writing. Unlike setDescription, this version is *idempotent* - calling it multiple times will result in only a single description meta tag in the head. Source: https://www.advancedwebranking.com/blog/meta-tags-important-in-seo/

  9. setDescriptionIdempI :: (MonadWidget m, RenderMessage (HandlerSite m) msg) => msg -> m ()

    yesod-core Yesod.Core.Widget

    Add translated description meta tag to the head of the page n.b. See comments for setDescriptionIdemp. Unlike setDescriptionI, this version is *idempotent* - calling it multiple times will result in only a single description meta tag in the head.

  10. setOGImage :: MonadWidget m => Text -> m ()

    yesod-core Yesod.Core.Widget

    Add OpenGraph image meta tag to the head of the page Best practices:

    • Use custom images for shareable pages, e.g., homepage, articles, etc.
    • Use your logo or any other branded image for the rest of your pages.
    • Use images with a 1.91:1 ratio and minimum recommended dimensions of 1200x630 for optimal clarity across all devices.
    Source: https://ahrefs.com/blog/open-graph-meta-tags/

Page 220 of many | Previous | Next