silkscreen: Prettyprinting transformers.

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Prettyprinting transformers for rainbow parens, precedence, etc.


[Skip to Readme]

Properties

Versions 0.0.0.0, 0.0.0.1, 0.0.0.2, 0.0.0.2, 0.0.0.3, 0.0.0.4
Change log CHANGELOG.md
Dependencies base (>=4.14 && <4.15), prettyprinter (>=1.7 && <1.8) [details]
License BSD-3-Clause
Copyright 2020 Rob Rix
Author Rob Rix
Maintainer rob.rix@me.com
Category Text
Home page https://github.com/robrix/silkscreen
Bug tracker https://github.com/robrix/silkscreen/issues
Source repo head: git clone https://github.com/robrix/silkscreen
Uploaded by robrix at 2020-10-07T17:06:57Z

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for silkscreen-0.0.0.2

[back to package description]

silkscreen: prettyprinting transformers

hackage

🎩 @3_lemma for the name!

Silkscreen abstracts the pretty-printing interface of prettyprinter with a Printer typeclass, allowing the definition of composable pretty-printer transformers, layering new behaviours onto the existing primitives. For example, Silkscreen.Prec implements support for precedence à la showsPrec, but using symbolic precedence levels, and Silkscreen.Rainbow implements rainbow-parentheses.