talira

Compare

text-showprettyprinter
What it isA Show replacement for Haskell that produces Text instead of StringWadler/Leijen pretty-printer for Haskell, Text-based, with annotations and pluggable backends
KindOpen sourceOpen source
Trust0.310.39
Stars41310
Last commit2026-09-192026-09-10
Licencetext-show BSD 3-clause licenceBSD-2-Clause
PricingFree and open sourceFree and open source
Free tierYesYes
Self-hostable——
Ways to run it——
SOC 2——
HIPAA——
SSO——
API——
Plugins——
MCP server——
CompanyRyan ScottDavid Luposchainsky
Features
  • TextShow typeclass: render values as Text instead of String
  • derive instances with Template Haskell (TextShow.TH) or GHC.Generics (TextShow.Generic)
  • instances for types in base, array, bytestring and text
  • Layouts that fit the output width, with alignment, grouping and separators
  • Text-based throughout, with no String definitions
  • Annotations for styling, links or source locations, free when unused
  • ANSI terminal backend in prettyprinter-ansi-terminal; other backends are small to write
  • Runnable examples throughout the documentation
Limitations
  • Only covers types from base, array, bytestring and text; other libraries' types need text-show-instances.