GroteTrap-0.5.1: Parser and selection library for expression languages.

Safe HaskellSafe-Inferred
LanguageHaskell98

Language.GroteTrap.ShowTree

Synopsis

Documentation

showTree :: (Ranged a, Tree a, Unparse a) => a -> String Source

Unparses a selectable tree type to a pretty tree representation.

printTree :: (Ranged a, Tree a, Unparse a) => a -> IO () Source

Writes showTree's result to stdout.