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.
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.
setCreateResources :: Bool -> RouteOpts -> RouteOptsyesod-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.
setEqDerived :: Bool -> RouteOpts -> RouteOptsyesod-core Yesod.Core.Dispatch No documentation available.
setParameterizedSubroute :: Bool -> RouteOpts -> RouteOptsyesod-core Yesod.Core.Dispatch If True, we will correctly pass parameters for subroutes around.
setReadDerived :: Bool -> RouteOpts -> RouteOptsyesod-core Yesod.Core.Dispatch No documentation available.
setShowDerived :: Bool -> RouteOpts -> RouteOptsyesod-core Yesod.Core.Dispatch No documentation available.
setCookie :: MonadHandler m => SetCookie -> m ()yesod-core Yesod.Core.Handler Set the cookie on the client.
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.
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 /.
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.