Hoogle Search
Within LTS Haskell 24.69 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
newStdoutLoggerSet :: BufSize -> IO LoggerSetfast-logger System.Log.FastLogger.LoggerSet Creating a new LoggerSet using stdout.
newStdoutLoggerSetN :: BufSize -> Maybe Int -> IO LoggerSetfast-logger System.Log.FastLogger.LoggerSet Creating a new LoggerSet using stdout, with the given number of buffers (see newFileLoggerSetN).
renewLoggerSet :: LoggerSet -> IO ()fast-logger System.Log.FastLogger.LoggerSet Renewing the internal file information in LoggerSet. This does nothing for stdout and stderr.
replaceLoggerSet :: LoggerSet -> FilePath -> (LoggerSet, Maybe FilePath)fast-logger System.Log.FastLogger.LoggerSet Replacing the file path in LoggerSet and returning a new LoggerSet and the old file path.
rmLoggerSet :: LoggerSet -> IO ()fast-logger System.Log.FastLogger.LoggerSet Flushing the buffers, closing the internal file information and freeing the buffers.
hashSet :: (Eq a, Hashable a) => Fold a (HashSet a)foldl Control.Foldl Fold values into a hash-set
csrfSetCookieMiddleware :: HandlerFor site res -> SetCookie -> HandlerFor site resyesod-core Yesod.Core Takes a SetCookie and overrides its value with a CSRF token, then sets the cookie. See setCsrfCookieWithCookie. For details, see the "AJAX CSRF protection" section of Yesod.Core.Handler. 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 /. Since 1.4.14
defaultCsrfSetCookieMiddleware :: HandlerFor site res -> HandlerFor site resyesod-core Yesod.Core Calls csrfSetCookieMiddleware with the defaultCsrfCookieName. The cookie's path is set to /, making it valid for your whole website. Since 1.4.14
cacheBySet :: (MonadHandler m, Typeable a) => ByteString -> a -> m ()yesod-core Yesod.Core.Handler Sets a value in the cache used by cachedBy.
cacheSet :: (MonadHandler m, Typeable a) => a -> m ()yesod-core Yesod.Core.Handler Sets a value in the cache used by cached.