Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

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

  1. yesodWithInternalState :: Yesod site => site -> Maybe (Route site) -> (InternalState -> IO a) -> IO a

    classy-prelude-yesod ClassyPrelude.Yesod

    How to allocate an InternalState for each request. The default implementation is almost always what you want. However, if you know that you are never taking advantage of the MonadResource instance in your handler functions, setting this to a dummy implementation can provide a small optimization. Only do this if you really know what you're doing, otherwise you can turn safe code into a runtime error! Since 1.4.2

  2. package yesod-eventsource

    Server-sent events support for Yesod apps. API docs and the README are available at http://www.stackage.org/package/yesod-eventsource

  3. package yesod-form-bootstrap4

    renderBootstrap4 renderBootstrap4

  4. package yesod-gitrepo

    Host content provided by a Git repo Please see the README and generated docs at https://www.stackage.org/package/yesod-gitrepo

  5. package yesod-recaptcha2

    yesod recaptcha2 It support new Google reCAPTCHA(v2, v3) for yesod-form instead yesod-recaptcha beacuse original yesod-recaptcha is dead.

  6. package yesod-sitemap

    Generate XML sitemaps. API docs and the README are available at http://www.stackage.org/package/yesod-sitemap

  7. package yesod-websockets

    WebSockets support for Yesod API docs and the README are available at http://www.stackage.org/package/yesod-websockets

  8. defaultYesodMiddleware :: Yesod site => HandlerFor site res -> HandlerFor site res

    yesod-core Yesod.Core

    Default implementation of yesodMiddleware. Adds the response header "Vary: Accept, Accept-Language", "X-XSS-Protection: 1; mode=block", and performs authorization checks. Since 1.2.0

  9. mkYesod :: String -> [ResourceTree String] -> Q [Dec]

    yesod-core Yesod.Core.Dispatch

    Generates URL datatype and site function for the given Resources. This is used for creating sites, not subsites. See mkYesodSubData and mkYesodSubDispatch for the latter. Use parseRoutes to create the Resources. Contexts and type variables in the name of the datatype are parsed. For example, a datatype App a with typeclass constraint MyClass a can be written as "(MyClass a) => App a".

  10. mkYesodData :: String -> [ResourceTree String] -> Q [Dec]

    yesod-core Yesod.Core.Dispatch

    Sometimes, you will want to declare your routes in one file and define your handlers elsewhere. For example, this is the only way to break up a monolithic file into smaller parts. Use this function, paired with mkYesodDispatch, to do just that.

Page 16 of many | Previous | Next