pragmatic-show: Alternative Show class that gives shorter view if possible.

[ gpl, library, text ] [ Propose Tags ] [ Report a vulnerability ]

The standard Show class is handy for quickly viewing any Haskell values without having to think about formatting. However, it often produces needlessly clunky string representations, which are difficult to parse by eye. This package offers a drop-in replacement which attempts to keep the representation as readable as possible. It does this through more graphical layout, omission of redundant information, and (still quite conservative) trimming of low-significance digits.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.1.0, 0.1.2.0, 0.1.2.1, 0.2.0.0
Dependencies base (>=4.8 && <5), containers (>=0.5 && <0.9) [details]
License GPL-3.0-only
Author Justus Sagemüller
Maintainer (@) jsag $ kth.se
Uploaded by leftaroundabout at 2025-05-31T13:24:30Z
Category Text
Home page https://github.com/leftaroundabout/pragmatic-show
Distributions NixOS:0.2.0.0
Reverse Dependencies 2 direct, 7 indirect [details]
Downloads 4164 total (16 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2025-05-31 [all 1 reports]