final-pretty-printer-0.1.0.0: Extensible pretty printing with semantic annotations and proportional fonts

Copyright(c) David Darais David Christiansen and Weixi Ma 2016-2017
LicenseMIT
Maintainerdavid.darais@gmail.com
Stabilityexperimental
PortabilityPortable
Safe HaskellNone
LanguageHaskell2010

Text.PrettyPrint.Final.Words

Contents

Description

This module contains atomic pretty printer documents, for your convenience.

Synopsis

Atomic documents

equals :: MonadPretty w ann fmt m => m () Source #

The equals sign

colon :: MonadPretty w ann fmt m => m () Source #

A single colon

comma :: MonadPretty w ann fmt m => m () Source #

A single comma

Wrappers

parens :: MonadPretty w ann fmt m => m () -> m () Source #

Wrap a document in parentheses

braces :: MonadPretty w ann fmt m => m () -> m () Source #

Wrap a document in braces