fourmolu-0.8.0.0: A formatter for Haskell source code
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ormolu.Printer.Meat.Declaration.Value

Synopsis

Documentation

p_pat :: Pat GhcPs -> R () Source #

p_stringLit :: String -> R () Source #

Print the source text of a string literal while indenting gaps correctly.

p_hsCmdTop :: BracketStyle -> HsCmdTop GhcPs -> R () Source #

Print a top-level command.

exprPlacement :: HsExpr GhcPs -> Placement Source #

Check if given expression has a hanging form.

cmdTopPlacement :: HsCmdTop GhcPs -> Placement Source #

Determine placement of a top level command.