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. setEtag :: 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. 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.

  2. setFieldAttrs :: [FieldAttr] -> FieldDef -> FieldDef

    classy-prelude-yesod ClassyPrelude.Yesod

    Replace the FieldDef FieldAttr with the new list.

  3. setFromList :: IsSet set => [Element set] -> set

    classy-prelude-yesod ClassyPrelude.Yesod

    Convert a list to a set.

  4. setGenType :: Bool -> MakeMessageOpts -> MakeMessageOpts

    classy-prelude-yesod ClassyPrelude.Yesod

    Whether to generate a new datatype from the constructors found in the .msg files

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

    classy-prelude-yesod ClassyPrelude.Yesod

    Deprecated synonym for addHeader.

  6. setImplicitIdDef :: ImplicitIdDef -> MkPersistSettings -> MkPersistSettings

    classy-prelude-yesod ClassyPrelude.Yesod

    Set the ImplicitIdDef in the given MkPersistSettings. The default value is autoIncrementingInteger.

  7. setLanguage :: MonadHandler m => Text -> m ()

    classy-prelude-yesod ClassyPrelude.Yesod

    Set the language in the user session. Will show up in languages on the next request.

  8. setMessage :: MonadHandler m => Html -> m ()

    classy-prelude-yesod ClassyPrelude.Yesod

    Calls addMessage with an empty status

  9. setMessageI :: (MonadHandler m, RenderMessage (HandlerSite m) msg) => msg -> m ()

    classy-prelude-yesod ClassyPrelude.Yesod

    Calls addMessageI with an empty status

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

    classy-prelude-yesod ClassyPrelude.Yesod

    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 869 of many | Previous | Next