@hackage / pretty-sop

A generic pretty-printer using generics-sop

Latest0.2.0.3

About

Metadata

  • Last updated , by AndresLoeh
  • License BSD-3-Clause
  • Categories Generics
  • Maintained by: andres@well-typed.com

  • Lottery factor: 0

Links

Installation

Tested Compilers

  1. 8.6.5
  2. 8.4.4
  3. 8.2.2
  4. 8.0.2
  5. 7.10.3

Readme

This library contains a generic implementation of the prettyVal function from the pretty-show package. Using the pretty printer, values can easily be rendered to strings and HTML documents in a uniform way.

This library makes use of the generics-sop package and is an example of a generic function defined in the SOP style.