| Safe Haskell | Safe-Infered |
|---|
NLP.GenI.Pretty
Description
This is not a proper pretty printer. I aim is to replace this with a (de-facto) standard library if one should appear
Documentation
An alternative Show instance (the idea being that we
should reserve Show for outputting actual Haskell)
Instances
| Pretty Int | |
| Pretty Integer | |
| Pretty String | |
| Pretty PolarityKey | |
| Pretty GeniVal | |
| Pretty SemInput | |
| Pretty Sem | |
| Pretty TestCase | |
| Pretty LexCombineError2 | |
| Pretty LexCombineError | |
| Pretty LexEntry | |
| Pretty RankedOtConstraint | |
| Pretty OtConstraint | |
| Pretty GeniError | |
| Pretty [TagSite] | |
| Pretty (FeatStruct GeniVal) | |
| Pretty (AvPair GeniVal) | |
| Pretty (Flist GeniVal) | |
| Pretty (Literal GeniVal) | |
| Pretty (GNode GeniVal) | The default show for GNode tries to be very compact; it only shows the value for cat attribute and any flags which are marked on that node. This is one the places where the pretty representation of a GenI object is different from its GenI-format one |
(<+>) :: Text -> Text -> TextSource
Separated by space unless one of them is empty (in which case just the non-empty one)