xcb-types-0.10.0: Parses XML files used by the XCB project

Copyright(c) Antoine Latter 2008
LicenseBSD3
MaintainerAntoine Latter <aslatter@gmail.com>
Stabilityprovisional
Portabilityportable - requires TypeSynonymInstances
Safe HaskellSafe
LanguageHaskell98

Data.XCB.Pretty

Description

Pretty-printers for the tyes declared in this package. This does NOT ouput XML - it produces human-readable information intended to aid in debugging.

Synopsis

Documentation

class Pretty a where Source #

Minimal complete definition:

One of pretty or toDoc.

Minimal complete definition

Nothing

Methods

toDoc :: a -> Doc Source #

pretty :: a -> String Source #

Instances
Pretty Bool Source # 
Instance details

Defined in Data.XCB.Pretty

Pretty Int Source # 
Instance details

Defined in Data.XCB.Pretty

Methods

toDoc :: Int -> Doc Source #

pretty :: Int -> String Source #

Pretty String Source # 
Instance details

Defined in Data.XCB.Pretty

Pretty AllowedEvent Source # 
Instance details

Defined in Data.XCB.Pretty

Pretty Alignment Source # 
Instance details

Defined in Data.XCB.Pretty

Pretty Unop Source # 
Instance details

Defined in Data.XCB.Pretty

Pretty Binop Source # 
Instance details

Defined in Data.XCB.Pretty

Pretty Type Source # 
Instance details

Defined in Data.XCB.Pretty

Pretty a => Pretty (Maybe a) Source # 
Instance details

Defined in Data.XCB.Pretty

Methods

toDoc :: Maybe a -> Doc Source #

pretty :: Maybe a -> String Source #

Pretty a => Pretty (Expression a) Source # 
Instance details

Defined in Data.XCB.Pretty

Pretty a => Pretty (EnumElem a) Source # 
Instance details

Defined in Data.XCB.Pretty

Pretty a => Pretty (GenXidUnionElem a) Source # 
Instance details

Defined in Data.XCB.Pretty

Pretty a => Pretty (GenBitCase a) Source # 
Instance details

Defined in Data.XCB.Pretty

Pretty a => Pretty (GenStructElem a) Source # 
Instance details

Defined in Data.XCB.Pretty

Pretty a => Pretty (GenXDecl a) Source # 
Instance details

Defined in Data.XCB.Pretty

Pretty a => Pretty (GenXHeader a) Source # 
Instance details

Defined in Data.XCB.Pretty