an implementation of Wadler's a prettier printer
The main change is to support scala native with scala 3:
the full list is below:
Full Changelog: https://github.com/typelevel/paiges/compare/v0.4.2...v0.4.3
This is a dependency update, and publishes for scala 3.0.0.
This release adds support for scala native.
https://github.com/typelevel/paiges/pull/338
Thanks to @ekrich !
Paiges 0.4.0 introduces no code changes, but provides builds for Scala 3.0.0-M2 and -M3. Various dependencies are updated.
This version just bumps dependencies for the build and supports scala 3 M3.
No changes or incompatibilities, just updating dependency versions.
Version 0.3.1 introduces no code changes, but updates several dependencies.
Version 0.3.0 introduces three new features not present in previous releases:
Doc.lineOr
#176Doc.hardLine
: #181<pre>
documents via Doc.zeroWidth
: #184Nice helpers for ANSI codes were also added in #184 so using Doc.text("this is red").style(Style.Ansi.Fg.Red)
you can make a red text. There are also helpers for background, attributes (e.g. bold, underline), and xterm 256 color codes.
The were no significant changes to the laws offered by Doc, so your existing Docs should continue to work. We want to thank @seanmcl for his work prototyping and doing the initial implementation of hardLine and lineOr.
The core module still has zero dependencies. The build plugins have been updated to the latest versions, and paiges-cats depends on cats 2.0.
This is the initial release. We believe that it with the extensive tests and benchmarks that the code is ready for use.
If you have documents you would like to render that you can't see how to layout with this, please open an issue.