The document type
2 declarationsInstances4Monad, Functor, Show, Applicative
Monad PprMDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Boot.TH.PprLibFunctor PprMDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Boot.TH.PprLibShow DocDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Boot.TH.PprLibApplicative PprMDefined in ghc-lib-parser-9.14.1.20251220 · GHC.Boot.TH.PprLib
Primitive Documents
14 declarationsConverting values into documents
8 declarationsWrapping documents in delimiters
5 declarationsCombining documents
14 declarationsvvalue($$) :: Doc-> Doc-> DocAbove; if there is no
overlap it "dovetails" the two
vvaluefsep :: [Doc]-> Doc"Paragraph fill" version of sep
vvaluefcat :: [Doc]-> Doc"Paragraph fill" version of cat
vvaluepunctuate :: Doc-> [Doc]-> [Doc]punctuate p [d1, ... dn] = [d1 <> p, d2 <> p, ... dn-1 <> p, dn]
Predicates on documents
4 declarations