syntax-pretty-0.2.0.0: Syntax instance for pretty, the pretty printing library.

Copyright(c) Paweł Nowak
LicenseMIT
MaintainerPaweł Nowak <pawel834@gmail.com>
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Data.Syntax.Pretty

Description

Provides a Syntax instance for Text.PrettyPrint.

Synopsis

Documentation

newtype Printer a Source

A printer is a function a -> Either String Doc.

Constructors

Printer 

Fields

runPrinter :: a -> Either String Doc

Runs the printer.