Hoogle Search

Within LTS Haskell 24.34 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. formatHtmlInline :: FormatOptions -> [SourceLine] -> Html

    pandoc Text.Pandoc.Highlighting

    Format tokens using HTML spans inside code tags. For example, A KeywordTok is rendered as a span with class kw. Short class names correspond to TokenTypes as follows: KeywordTok = kw, DataTypeTok = dt, DecValTok = dv, BaseNTok = bn, FloatTok = fl, CharTok = ch, StringTok = st, CommentTok = co, OtherTok = ot, AlertTok = al, FunctionTok = fu, RegionMarkerTok = re, ErrorTok = er, ConstantTok = cn, SpecialCharTok = sc, VerbatimStringTok = vs, SpecialStringTok = ss, ImportTok = im, DocumentationTok = do, AnnotationTok = an, CommentVarTok = cv, VariableTok = va, ControlFlowTok = cf, OperatorTok = op, BuiltInTok = bu, ExtensionTok = ex, PreprocessorTok = pp, AttributeTok = at, InformationTok = in, WarningTok = wa. A NormalTok is not marked up at all.

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

    pandoc Text.Pandoc.Highlighting

    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.

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

    pandoc Text.Pandoc.Highlighting

    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.

  4. formatCode :: Attr -> Inlines -> Inlines

    pandoc Text.Pandoc.Shared

    Reformat Inlines as code, putting the stringlike parts in Code elements while bringing other inline formatting outside. The idea is that e.g. `[Str "a",Space,Strong [Str "b"]]` should turn into `[Code ("",[],[]) "a ", Strong [Code ("",[],[]) "b"]]`. This helps work around the limitation that pandoc's Code element can only contain string content (see issue #7525).

  5. formatNominalDiffTime :: NominalDiffTime -> String

    sandwich Test.Sandwich.Internal

    No documentation available.

  6. formatterName :: Formatter f => f -> String

    sandwich Test.Sandwich.Options

    Name of the formatter

  7. formParam :: Parsable a => Text -> ActionM a

    scotty Web.Scotty

    Get a form parameter.

    • Raises an exception which can be caught by catch if parameter is not found. If the exception is not caught, scotty will return a HTTP error code 400 ("Bad Request") to the client.
    • This function raises a code 400 also if the parameter is found, but parseParam fails to parse to the correct type.
    Since: 0.20

  8. formParamMaybe :: Parsable a => Text -> ActionM (Maybe a)

    scotty Web.Scotty

    Look up a form parameter. Returns Nothing if the parameter is not found or cannot be parsed at the right type. NB : Doesn't throw exceptions, so developers must raiseStatus or throw to signal something went wrong. Since: 0.21

  9. formParams :: ActionM [Param]

    scotty Web.Scotty

    Get form parameters

  10. formParamsAndFilesWith :: forall (m :: Type -> Type) . MonadUnliftIO m => InternalState -> ParseRequestBodyOptions -> ActionT m ([Param], [File FilePath])

    scotty Web.Scotty.Internal.Types

    No documentation available.

Page 56 of many | Previous | Next