pretty-print

Crates.iopretty-print
lib.rspretty-print
version0.1.9
sourcesrc
created_at2023-06-01 06:47:47.398107
updated_at2023-06-15 13:54:25.379517
descriptionpretty print tree
homepage
repositoryhttps://github.com/oovm/pretty-print
max_upload_size
id879501
size69,014
SasakiSaki (oovm)

documentation

https://docs.rs/pretty-print

README

This crate defines a Wadler-style pretty-printing API.

Start with the static functions of Doc.

Quick start

Let's pretty-print simple sexps! We want to pretty print sexps like

(1 2 3)

or, if the line would be too long, like

((1)
 (2 3)
 (4 5 6))

A simple symbolic expression consists of a numeric atom or a nested ordered list of symbolic expression children.

Commit count: 38

cargo fmt