Package1.7.2User InterfacesText
prettyprinter
A modern, easy to use, well-documented, extensible pretty-printer.
- Version1.7.2
- CategoryUser Interfaces, Text
- LicenceBSD-2-Clause
- AuthorPhil Wadler, Daan Leijen, Max Bolingbroke, Edward Kmett, David Luposchainsky, Simon Jakobi
- MaintainerSimon Jakobi <simon.jakobi@gmail.com>, David Luposchainsky <dluposchainsky at google>
- Homepagegithub.com/quchen/prettyprinter
- Pinned byhackage prettyprinter 1.7.2
- Sourcehackage.haskell.org/package/prettyprinter-1.7.2
Modules
- Data.Text.Prettyprint.Doc
- Data.Text.Prettyprint.Doc.Render.String
- Data.Text.Prettyprint.Doc.Render.Text
- Data.Text.Prettyprint.Doc.Render.Tutorials.StackMachineTutorial
- Data.Text.Prettyprint.Doc.Render.Tutorials.TreeRenderingTutorial
- Data.Text.Prettyprint.Doc.Render.Util.Panic
- Data.Text.Prettyprint.Doc.Render.Util.SimpleDocTree
- Data.Text.Prettyprint.Doc.Render.Util.StackMachine
- Data.Text.Prettyprint.Doc.Symbols.Ascii
- Data.Text.Prettyprint.Doc.Symbols.Unicode
- Data.Text.Prettyprint.Doc.Util
- PrettyprinterOverview This module defines a prettyprinter to format text in a flexible and
- Prettyprinter.Render.String
- Prettyprinter.Render.TextRender an unannotated SimpleDocStream as plain Text.
- Prettyprinter.Render.Tutorials.StackMachineTutorialThis module shows how to write a custom prettyprinter backend, based on
- Prettyprinter.Render.Tutorials.TreeRenderingTutorialThis module shows how to write a custom prettyprinter backend, based on a
- Prettyprinter.Render.Util.Panic
- Prettyprinter.Render.Util.SimpleDocTreeConversion of the linked-list-like SimpleDocStream to a tree-like
- Prettyprinter.Render.Util.StackMachineDefinitions to write renderers based on looking at a SimpleDocStream as
- Prettyprinter.Symbols.AsciiCommon symbols composed out of the ASCII subset of Unicode. For non-ASCII
- Prettyprinter.Symbols.UnicodeA collection of predefined Unicode values outside of ASCII range. For
- Prettyprinter.UtilFrequently useful definitions for working with general prettyprinters.
Internal modules · 6
- Data.Text.Prettyprint.Doc.Internal
- Data.Text.Prettyprint.Doc.Internal.Debug
- Data.Text.Prettyprint.Doc.Internal.Type
- Prettyprinter.InternalWarning: internal module! This means that the API may change
- Prettyprinter.Internal.DebugWarning: internal module! This means that the API may change
- Prettyprinter.Internal.TypeInternal module with stability guarantees This module exposes the internals of the Doc type so other libraries can
Description
A modern, easy to use, well-documented, extensible pretty-printer. For more see README.md
Depends on
2 packages- base-4.23.0.0with GHC
- text-2.1.4with GHC