ace-0.6: Attempto Controlled English parser and printer

Safe HaskellSafe
LanguageHaskell98

ACE.Types.Pretty

Description

Pretty printing types and classes.

Synopsis

Documentation

class Pretty p where #

Pretty print a syntax tree node to a string.

Minimal complete definition

pretty

Methods

pretty :: p -> Builder #

Instances

Pretty a => Pretty (Maybe a) #

Prints no string if nothing.

Methods

pretty :: Maybe a -> Builder #