hermit-0.2.0.0: Haskell Equational Reasoning Model-to-Implementation Tunnel

Safe HaskellNone

Language.HERMIT.PrettyPrinter.Common

Contents

Synopsis

Documents

type DocH = MDoc HermitMarkSource

Colors

Renderers

newtype Unicode Source

Constructors

Unicode Char 

Pretty Printer Traversals

data PrettyC Source

Context for PrettyH translations.

Pretty Printer Options

data PrettyOptions Source

Constructors

PrettyOptions 

Fields

po_fullyQualified :: Bool

Do you show fully qualified names?

po_exprTypes :: ShowOption

Do you hide types, and type arguments, as ?

po_coercions :: ShowOption

Do you hide coercions?

po_typesForBinders :: ShowOption

Do you give the types for all bindings?

po_highlight :: Maybe PathH

This region should be highlighted (for sub-expression)

po_depth :: Maybe Int

below this depth are ..., Nothing => infinite

po_notes :: Bool

notes might be added to output

po_ribbon :: Float
 
po_width :: Int
 

Utilities

hlist :: [MDoc a] -> MDoc aSource

like vcat and hcat, only make the list syntax explicit

vlist :: [MDoc a] -> MDoc aSource

like vcat and hcat, only make the list syntax explicit