Hey, over the last few days I've been working on i...
# feed
j
Hey, over the last few days I've been working on improving the prettyprinter I've written a while back (https://github.com/1Jajen1/kotlin-pretty). It is now pretty much stable and comes with documentation! (https://1jajen1.github.io/kotlin-pretty/docs/). For those not familiar with prettyprinters: A prettyprinter allows you to define dynamic (or static) text in a layout agnostic way which can then later be rendered to string with optimal newlines for the specified width constraints. Check out the readme or the doc page to learn more! The project is written with arrow and mainly makes use of
Eval
for stacksafety and optimization and provides primitives to render Documents with applicative effects (for rendering straight to e.g. an output stream). The docs currently include a landing page, a getting started guide and a full api reference. Everything else in the docs is wip, so if you have any questions feel free to ask directly ask me (or open issues). Feedback is much appreciated!
arrow 1
👏 2