Hoogle Search
Within LTS Haskell 24.46 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setRsCode :: Monad m => Int -> Response -> m Responsehappstack-server Happstack.Server.Types Sets the Response status code to the provided Int and lifts the computation into a Monad.
setValidator :: (Response -> IO Response) -> Response -> Responsehappstack-server Happstack.Server.Validation Set the validator which should be used for this particular Response when validation is enabled. Calling this function does not enable validation. That can only be done by enabling the validation in the Conf that is passed to simpleHTTP. You do not need to call this function if the validator set in Conf does what you want already. Example: (use noopValidator instead of the default supplied by validateConf)
simpleHTTP validateConf $ ok . setValidator noopValidator =<< htmlPage
See also: validateConf, wdgHTMLValidator, noopValidator, lazyProcValidator.setValidatorSP :: (Monad m, ToMessage r) => (Response -> IO Response) -> m r -> m Responsehappstack-server Happstack.Server.Validation ServerPart version of setValidator. Example: (Set validator to noopValidator)
simpleHTTP validateConf $ setValidatorSP noopValidator (dir "ajax" ... )
-
hexpat Text.XML.Expat.Cursor Change the current content.
-
hexpat Text.XML.Expat.Internal.NodeClass Set the value of the attribute with the specified name to the value, overwriting the first existing attribute with that name if present.
setAccountAnchor :: Maybe Text -> [Text] -> Text -> Cell border text -> Cell border texthledger Hledger.Cli.Anchor No documentation available.
setup :: CliOpts -> Journal -> IO ()hledger Hledger.Cli.Commands.Setup Test and print the status of various aspects of the hledger installation. May also show extra info and hints on how to fix problems. The goal is to detect and show as much useful information as possible, and to complete this task reliably regardless of what we find, without premature termination or misformatting. The tests are grouped into setup* routines, so named because they might do more than just test in future. This is the second version of setup. If it finds that the currently running hledger is not the one installed in PATH (by comparing --version output), it refuses to proceed further until that has been done. This means it can rely on all the latest features and use the hledger API within this process, simplifying things greatly.
-
hledger Hledger.Cli.Commands.Setup No documentation available.
-
hmatrix-gsl Numeric.GSL This action removes the GSL default error handler (which aborts the program), so that GSL errors can be handled by Haskell (using Control.Exception) and ghci doesn't abort.
setDecode :: (FilePath -> IO (Either String ([String], Value))) -> Options -> Optionshpack Hpack No documentation available.