term-rewriting-0.3.0.1: Term Rewriting Library
Data.Rewriting.Term.Pretty
Contents
prettyTerm :: (f -> Doc) -> (v -> Doc) -> Term f v -> Doc Source #
Given a pretty printer f for function symbols and pretty printer v for variables prettyTerm f v produces a pretty printer for terms
f
v
prettyTerm f v
Methods
pretty :: Term f v -> Doc #
prettyList :: [Term f v] -> Doc #