Safe Haskell | None |
---|---|
Language | Haskell98 |
This module contains a single function that converts a RType -> Doc without using *any* simplifications.
- type OkRT c tv r = (TyConable c, PPrint tv, PPrint c, PPrint r, Reftable r, Reftable (RTProp c tv ()), Reftable (RTProp c tv r), Eq c, Eq tv, Hashable tv)
- rtypeDoc :: OkRT c tv r => Tidy -> RType c tv r -> Doc
- pprManyOrdered :: (PPrint a, Ord a) => Tidy -> String -> [a] -> [Doc]
- pprintLongList :: PPrint a => Tidy -> [a] -> Doc
- pprintSymbol :: Symbol -> Doc
Printable RTypes
type OkRT c tv r = (TyConable c, PPrint tv, PPrint c, PPrint r, Reftable r, Reftable (RTProp c tv ()), Reftable (RTProp c tv r), Eq c, Eq tv, Hashable tv) Source #
Printers
Printing Lists (TODO: move to fixpoint)
pprintLongList :: PPrint a => Tidy -> [a] -> Doc Source #
pprintSymbol :: Symbol -> Doc Source #
Orphan instances
Show Predicate Source # | |
PPrint SourceError Source # | |
PPrint Class Source # | |
PPrint ErrMsg Source # | A whole bunch of PPrint instances follow ---------------------------------- |
PPrint Var Source # | |
PPrint TyCon Source # | |
PPrint Type Source # | |
PPrint Name Source # | |
PPrint Tidy Source # | |
PPrint LMap Source # | |
PPrint LogicMap Source # | |
PPrint a => Show (AnnInfo a) Source # | |
PPrint t => PPrint (Annot t) Source # | |
PPrint a => PPrint (AnnInfo a) Source # | |
(PPrint r, Reftable r) => PPrint (UReft r) Source # | |
(PPrint tv, PPrint ty) => PPrint (RTAlias tv ty) Source # | |
OkRT c tv r => PPrint (RType c tv r) Source # | Pretty Printing RefType --------------------------------------------------- |