Hoogle Search

Within LTS Haskell 24.33 (ghc-9.10.3)

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

  1. setupTypelibSearchPath :: [FilePath] -> IO ()

    haskell-gi Data.GI.CodeGen.LibGIRepository

    A convenience function for setting up the typelib search path from the environment. Note that for efficiency reasons this should only be called once per program run. If the list of paths passed in is empty, the environment variable HASKELL_GI_TYPELIB_SEARCH_PATH will be checked. In either case the system directories will be searched after the passed in directories.

  2. setCreateResources :: Bool -> RouteOpts -> RouteOpts

    yesod-core Yesod.Core.Dispatch

    Determine whether or not to generate the resourcesApp value. Disabling this can be useful if you are creating the routes :: [ResourceTree String] elsewhere in your module, and referring to it here. The resourcesApp can become very large in large applications, and duplicating it can result in signifiacntly higher compile times.

  3. setEqDerived :: Bool -> RouteOpts -> RouteOpts

    yesod-core Yesod.Core.Dispatch

    No documentation available.

  4. setParameterizedSubroute :: Bool -> RouteOpts -> RouteOpts

    yesod-core Yesod.Core.Dispatch

    If True, we will correctly pass parameters for subroutes around.

  5. setReadDerived :: Bool -> RouteOpts -> RouteOpts

    yesod-core Yesod.Core.Dispatch

    No documentation available.

  6. setShowDerived :: Bool -> RouteOpts -> RouteOpts

    yesod-core Yesod.Core.Dispatch

    No documentation available.

  7. setCookie :: MonadHandler m => SetCookie -> m ()

    yesod-core Yesod.Core.Handler

    Set the cookie on the client.

  8. setCsrfCookie :: MonadHandler m => m ()

    yesod-core Yesod.Core.Handler

    Sets a cookie with a CSRF token, using defaultCsrfCookieName for the cookie name. The cookie's path is set to /, making it valid for your whole website.

  9. setCsrfCookieWithCookie :: MonadHandler m => SetCookie -> m ()

    yesod-core Yesod.Core.Handler

    Takes a SetCookie and overrides its value with a CSRF token, then sets the cookie. Make sure to set the setCookiePath to the root path of your application, otherwise you'll generate a new CSRF token for every path of your app. If your app is run from from e.g. www.example.com/app1, use app1. The vast majority of sites will just use /.

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

Page 203 of many | Previous | Next