Hoogle Search
Within LTS Haskell 24.35 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
formatConTeXtBlock :: FormatOptions -> [SourceLine] -> Textskylighting-format-context Skylighting.Format.ConTeXt Format tokens as a ConTeXt highlighting typing environment. The highlighting environemnt is defined by the macros produced by styleToConTeXt; it is a typing environment with default escaping enabled, i.e., / is the escape character.
formatConTeXtInline :: FormatOptions -> [SourceLine] -> Textskylighting-format-context Skylighting.Format.ConTeXt Formats tokens as ConTeXt using custom commands inside a type{}. A KeywordTok is rendered using \KeywordTok{..}, and so on.
formatLaTeXBlock :: FormatOptions -> [SourceLine] -> Textskylighting-format-latex Skylighting.Format.LaTeX Format tokens as a LaTeX Highlighting environment inside a Shaded environment. Highlighting and Shaded are defined by the macros produced by styleToLaTeX. Highlighting is a verbatim environment using fancyvrb; \, {, and } have their normal meanings inside this environment, so that formatting commands work. Shaded is either nothing (if the style's background color is default) or a snugshade environment from framed, providing a background color for the whole code block, even if it spans multiple pages.
formatLaTeXInline :: FormatOptions -> [SourceLine] -> Textskylighting-format-latex Skylighting.Format.LaTeX Formats tokens as LaTeX using custom commands inside | characters. Assumes that | is defined as a short verbatim command by the macros produced by styleToLaTeX. A KeywordTok is rendered using \KeywordTok{..}, and so on.
formatTypstBlock :: FormatOptions -> [SourceLine] -> Textskylighting-format-typst Skylighting.Format.Typst Format tokens as a Typst Highlighting environment inside a Skylighting block that can be styled. Skylighting is defined by the macros produced by styleToTypst.
formatTypstInline :: FormatOptions -> [SourceLine] -> Textskylighting-format-typst Skylighting.Format.Typst Formats tokens as Typst using custom commands inside | characters. Assumes that | is defined as a short verbatim command by the macros produced by styleToTypst. A KeywordTok is rendered using \KeywordTok{..}, and so on.
-
slave-thread SlaveThread Fork a slave thread to run a computation on.
forkFinally :: IO a -> IO b -> IO ThreadIdslave-thread SlaveThread Fork a slave thread with a finalizer action to run a computation on. The finalizer gets executed when the thread dies for whatever reason: due to being killed or an uncaught exception, or a normal termination. Note the order of arguments:
forkFinally finalizer computation
forkFinallyWithUnmask :: IO a -> ((forall x . () => IO x -> IO x) -> IO b) -> IO ThreadIdslave-thread SlaveThread Like forkFinally, but provides the computation a function that unmasks asynchronous exceptions. See Note [Unmask] at the bottom of this module.
forkWithUnmask :: ((forall x . () => IO x -> IO x) -> IO a) -> IO ThreadIdslave-thread SlaveThread Like fork, but provides the computation a function that unmasks asynchronous exceptions. See Note [Unmask] at the bottom of this module.