# text-show

> A Show replacement for Haskell that produces Text instead of String

Source: https://talira.ai/catalog/text-show-ep628tn1
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / text / pretty printing](https://talira.ai/categories/libraries/text/pretty-printing), [languages / haskell](https://talira.ai/categories/languages/haskell)
- Licence: text-show BSD 3-clause licence[^2][^3]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source.
- Free tier: yes[^1]
- Backed by: [Ryan Scott](https://talira.ai/orgs/ryan-scott.md)

text-show offers a replacement for Haskell's Show typeclass that renders values as Text instead of String, with printT and friends, and derives TextShow instances through Template Haskell or GHC.Generics. It covers types from base, array, bytestring and text; text-show-instances covers other libraries.

## Links

- GitHub: https://github.com/RyanGlScott/text-show

## Problems it solves

- turn Haskell values into Text without going through String
- derive a show-like instance that outputs Text for my Haskell data types
- print values as Text in a Haskell program that uses Data.Text everywhere

## 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

## Limitations

- Only covers types from base, array, bytestring and text; other libraries' types need text-show-instances.[^1]

## Trust

Overall: 0.31 out of 1.
Signals: maintenance 0.46, adoption 0.32, momentum 0.03, community 0.38, backing 0.30, extensibility 0.00.

- last commit 2 months ago
- 1 commits in the last 90 days
- 41 GitHub stars
- 8 contributors
- backed by Ryan Scott

## Alternatives

- [prettyprinter](https://talira.ai/catalog/prettyprinter-6vqgxdqy.md): Wadler/Leijen pretty-printer for Haskell, Text-based, with annotations and pluggable backends

## Sources

[^1]: https://github.com/RyanGlScott/text-show/blob/master/README.md (checked 29 Nov 2026)
[^2]: https://github.com/RyanGlScott/text-show/blob/master/LICENSE (checked 29 Nov 2026)
[^3]: https://github.com/RyanGlScott/text-show/blob/master/text-show.cabal (checked 29 Nov 2026)
