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.

  1. formatConTeXtBlock :: FormatOptions -> [SourceLine] -> Text

    skylighting-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.

  2. formatConTeXtInline :: FormatOptions -> [SourceLine] -> Text

    skylighting-format-context Skylighting.Format.ConTeXt

    Formats tokens as ConTeXt using custom commands inside a type{}. A KeywordTok is rendered using \KeywordTok{..}, and so on.

  3. formatLaTeXBlock :: FormatOptions -> [SourceLine] -> Text

    skylighting-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.

  4. formatLaTeXInline :: FormatOptions -> [SourceLine] -> Text

    skylighting-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.

  5. formatTypstBlock :: FormatOptions -> [SourceLine] -> Text

    skylighting-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.

  6. formatTypstInline :: FormatOptions -> [SourceLine] -> Text

    skylighting-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.

  7. fork :: IO a -> IO ThreadId

    slave-thread SlaveThread

    Fork a slave thread to run a computation on.

  8. forkFinally :: IO a -> IO b -> IO ThreadId

    slave-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
    

  9. forkFinallyWithUnmask :: IO a -> ((forall x . () => IO x -> IO x) -> IO b) -> IO ThreadId

    slave-thread SlaveThread

    Like forkFinally, but provides the computation a function that unmasks asynchronous exceptions. See Note [Unmask] at the bottom of this module.

  10. forkWithUnmask :: ((forall x . () => IO x -> IO x) -> IO a) -> IO ThreadId

    slave-thread SlaveThread

    Like fork, but provides the computation a function that unmasks asynchronous exceptions. See Note [Unmask] at the bottom of this module.

Page 187 of many | Previous | Next