Hoogle Search
Within LTS Haskell 24.68 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setExtension :: String -> Routeshakyll Hakyll.Core.Routes Create a route like idRoute that interprets the identifier (of the item being processed) as the destination filepath but also sets (or replaces) the extension suffix of that path. This identifier is normally the filepath of the source file being processed. See Identifier for details.
Examples
Route with an existing extension-- e.g. file on disk: '<project-directory>/posts/hakyll.md' -- 'hakyll.md' source file implicitly gets filepath as identifier: -- 'posts/hakyll.md' match "posts/*" $ do -- compilation result is written to '<destination-directory>/posts/hakyll.html' route (setExtension "html") compile pandocCompiler
Route without an existing extension-- implicitly gets identifier: 'about' create ["about"] $ do -- compilation result is written to '<destination-directory>/about.html' route (setExtension "html") compile $ makeItem ("Hello world" :: String)setHeader :: Text -> Text -> ProxyResponse -> ProxyResponsehal AWS.Lambda.Events.ApiGateway.ProxyResponse Set a header to the ProxyResponse. If there were any previous values for this header they are all replaced by this new value.
setPandocArgs :: [String] -> PandocOptions -> PandocOptionsheist Heist.Splices.Markdown Arguments passed to pandoc
setPandocBaseDir :: Maybe FilePath -> PandocOptions -> PandocOptionsheist Heist.Splices.Markdown Base directory for input files, defaults to current template dir
setPandocExecutable :: FilePath -> PandocOptions -> PandocOptionsheist Heist.Splices.Markdown Name of pandoc executable
setPandocWrapDiv :: Maybe Text -> PandocOptions -> PandocOptionsheist Heist.Splices.Markdown Wrap pandoc output in div with class. Appends node attributes to div and appends class to ones specified on node.
setReverseDNS :: Token -> PrimaryIPID -> PublicIPInfo Text (Either IPv4 IPv6) -> IO Actionhetzner Hetzner.Cloud Set reverse DNS for a primary IP.
- If the primary IP corresponds to an IPv4, the reverse DNS setting's IP must coincide with the primary IP's IPv4.
- If the primary IP corresponds to an IPv6, the reverse DNS setting's IP must be within the primary IP's IPv6 range.
setServerReverseDNS :: Token -> ServerID -> PublicIPInfo Text (Either IPv4 IPv6) -> IO Actionhetzner Hetzner.Cloud Set reverse DNS entry for a server.
setFrontEndHooks :: Maybe (ModSummary -> Hsc FrontendResult) -> HscEnv -> HscEnvhie-bios HIE.Bios.Ghc.Gap No documentation available.
setNoCode :: DynFlags -> DynFlagshie-bios HIE.Bios.Ghc.Gap No documentation available.