fourmolu-0.14.1.0: A formatter for Haskell source code
Safe HaskellSafe-Inferred
LanguageGHC2021

Ormolu.Printer

Description

Pretty-printer for Haskell AST.

Synopsis

Documentation

printSnippets #

Arguments

:: [SourceSnippet]

Result of parsing

-> PrinterOptsTotal 
-> Text

Resulting rendition

Render several source snippets.

data PrinterOpts f #

Options controlling formatting output.

Constructors

PrinterOpts 

Fields

Instances

Instances details
FromJSON PrinterOptsPartial # 
Instance details

Defined in Ormolu.Config

Monoid PrinterOptsPartial # 
Instance details

Defined in Ormolu.Config

Semigroup PrinterOptsPartial # 
Instance details

Defined in Ormolu.Config

Show PrinterOptsPartial # 
Instance details

Defined in Ormolu.Config

Show PrinterOptsTotal # 
Instance details

Defined in Ormolu.Config

Eq PrinterOptsPartial # 
Instance details

Defined in Ormolu.Config

Eq PrinterOptsTotal # 
Instance details

Defined in Ormolu.Config

Generic (PrinterOpts f) # 
Instance details

Defined in Ormolu.Config.Gen

Associated Types

type Rep (PrinterOpts f) :: Type -> Type

Methods

from :: PrinterOpts f -> Rep (PrinterOpts f) x

to :: Rep (PrinterOpts f) x -> PrinterOpts f

type Rep (PrinterOpts f) # 
Instance details

Defined in Ormolu.Config.Gen

type Rep (PrinterOpts f)