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.
formatHtmlInline :: FormatOptions -> [SourceLine] -> Htmlpandoc 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.
formatLaTeXBlock :: FormatOptions -> [SourceLine] -> Textpandoc 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.
formatLaTeXInline :: FormatOptions -> [SourceLine] -> Textpandoc 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.
formatCode :: Attr -> Inlines -> Inlinespandoc 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).
formatNominalDiffTime :: NominalDiffTime -> Stringsandwich Test.Sandwich.Internal No documentation available.
formatterName :: Formatter f => f -> Stringsandwich Test.Sandwich.Options Name of the formatter
formParam :: Parsable a => Text -> ActionM ascotty 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.
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
-
scotty Web.Scotty Get form parameters
-
scotty Web.Scotty.Internal.Types No documentation available.