Hoogle Search
Within LTS Haskell 24.51 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setField :: ToContext a b => Text -> b -> Context a -> Context apandoc Text.Pandoc.Writers.Shared Set a field of a template context. If the field already has a value, convert it into a list with the new value appended to the old value(s). This is a utility function to be used in preparing template contexts.
setupTranslations :: PandocMonad m => Meta -> m ()pandoc Text.Pandoc.Writers.Shared Set translations based on the lang in metadata.
setClientEncoding :: Connection -> ByteString -> IO Boolpostgresql-libpq Database.PostgreSQL.LibPQ Sets the client encoding.
setErrorVerbosity :: Connection -> Verbosity -> IO Verbositypostgresql-libpq Database.PostgreSQL.LibPQ Determines the verbosity of messages returned by errorMessage and resultErrorMessage. setErrorVerbosity sets the verbosity mode, returning the connection's previous setting. In ErrorsTerse mode, returned messages include severity, primary text, and position only; this will normally fit on a single line. The default mode produces messages that include the above plus any detail, hint, or context fields (these might span multiple lines). The ErrorsVerbose mode includes all available fields. Changing the verbosity does not affect the messages available from already-existing Result objects, only subsequently-created ones.
setSingleRowMode :: Connection -> IO Boolpostgresql-libpq Database.PostgreSQL.LibPQ Select single-row mode for the currently-executing query. This function can only be called immediately after PQsendQuery or one of its sibling functions, before any other operation on the connection such as PQconsumeInput or PQgetResult. If called at the correct time, the function activates single-row mode for the current query and returns 1. Otherwise the mode stays unchanged and the function returns 0. In any case, the mode reverts to normal after completion of the current query.
setnonblocking :: Connection -> Bool -> IO Boolpostgresql-libpq Database.PostgreSQL.LibPQ Sets the nonblocking status of the connection.
setHeader :: Text -> Text -> ActionM ()scotty Web.Scotty Set one of the response headers. Will override any previously set value for that header. Header names are case-insensitive.
setMaxRequestBodySize :: Kilobytes -> ScottyM ()scotty Web.Scotty Set global size limit for the request body. Requests with body size exceeding the limit will not be processed and an HTTP response 413 will be returned to the client. Size limit needs to be greater than 0, otherwise the application will terminate on start.
settings :: Options -> Settingsscotty Web.Scotty Warp Settings Note: to work around an issue in warp, the default FD cache duration is set to 0 so changes to static files are always picked up. This likely has performance implications, so you may want to modify this for production servers using setFdCacheDuration.
setCookie :: forall (m :: Type -> Type) . MonadIO m => SetCookie -> ActionT m ()scotty Web.Scotty.Cookie Set a cookie, with full access to its options (see SetCookie)