tpdb-1.3.3: Data Type for Rewriting Systems

Safe HaskellSafe
LanguageHaskell98

TPDB.Plain.Write

Contents

Description

Documentation

class PrettyTerm a where Source #

Minimal complete definition

prettyTerm

Methods

prettyTerm :: a -> Doc Source #

Instances

Pretty s => PrettyTerm [s] Source # 

Methods

prettyTerm :: [s] -> Doc Source #

(Pretty v, Pretty s) => PrettyTerm (Term v s) Source # 

Methods

prettyTerm :: Term v s -> Doc Source #

Orphan instances

Pretty Identifier Source # 
PrettyTerm a => Pretty (Rule a) Source # 

Methods

pretty :: Rule a -> Doc #

prettyList :: [Rule a] -> Doc #

(Pretty v, Pretty s) => Pretty (Term v s) Source # 

Methods

pretty :: Term v s -> Doc #

prettyList :: [Term v s] -> Doc #

(Pretty s, Pretty r) => Pretty (Problem s r) Source # 

Methods

pretty :: Problem s r -> Doc #

prettyList :: [Problem s r] -> Doc #

(Pretty s, PrettyTerm r) => Pretty (RS s r) Source # 

Methods

pretty :: RS s r -> Doc #

prettyList :: [RS s r] -> Doc #