sexpr-0.1.2: S-expression printer and parser

Codec.Sexpr.Printer

Contents

Description

Export S-expressions in any of the three ordinary forms:

  • Canonical, where a different string implies a different meaning
  • Basic, suitable for transport over 7-bit and awkward media
  • Advanced, a human-readable pretty-printed encoding.

The -> String functions are probably what you want unless you know you want something else.

The Show instance for Sexpr is provided here, using advancedString and the underlying Show instance. Overlapping instances are used to provide a nice show for Sexpr String.

Synopsis

String printers

ShowS printers

Doc pretty printers

Put binary printers