pire-0.2.5

Copyright(c) Andreas Reuleaux 2015 - 2018
LicenseBSD2
MaintainerAndreas Reuleaux <rx@a-rx.info>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

PrettyTT

Contents

Description

pretty printing for Pire's token trees

Documentation

prettyTT_ :: Applicative f => TT t a -> [String] -> Int -> (t -> Int -> f (Doc ann)) -> (a -> Int -> f (Doc ann)) -> f (Doc ann) Source #

Orphan instances

Pretty (TT String String) Source # 
Instance details

Methods

pretty :: TT String String -> Doc ann #

prettyList :: [TT String String] -> Doc ann #

Pretty (TT Text Text) Source # 
Instance details

Methods

pretty :: TT Text Text -> Doc ann #

prettyList :: [TT Text Text] -> Doc ann #

PrettyAnn (TT String String) Source # 
Instance details

PrettyAnn (TT Text Text) Source # 
Instance details