This project contains code that was developed as part of the Scala standard library but was later deprecated. We maintain the code mainly because we used it in one of our projects and also as a small and simple test module that we can use to check continuous integration, documentation, cross-scala compilations, tests, and so on.
It consists os a basic pretty-printing library, which was based on Lindig's strict version of Wadler's adaptation of Hughes' pretty-printer derived from Document.scala whose author was Michel Schinz.
You can see the web page for technical documentation.
- The design of a pretty-printing library by John Hughes, describes the original pretty-printing library in Haskell, PDF
- Strictly Pretty Paper by Christian Lindig, describes a strict implementation of the pretty printing algorithm in OCaml
Contributions are greatly appreciated. Please fork this repository and open a pull request to add more features or submit issues
This project uses the sbt ci release plugin for publishing to OSS Sonatype.
Open a PR and merge it to watch the CI release a -SNAPSHOT version
- Push a tag and watch the CI do a regular release
git tag -a v0.1.0 -m "v0.1.0"
git push origin v0.1.0
Note that the tag version MUST start with v.