packages feed

prettyprinter-graphviz 1.0.0.1 → 1.0.0.2

raw patch · 2 files changed

+3/−1 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

README.md view
@@ -4,3 +4,5 @@ Just some simple utility functions for hooking up the Haskell libraries [graphviz](https://hackage.haskell.org/package/graphviz) and [prettyprinter](https://hackage.haskell.org/package/prettyprinter).  Given a [Doc](https://hackage.haskell.org/package/prettyprinter/docs/Data-Text-Prettyprint-Doc.html#t:Doc), you can use [render](https://hackage.haskell.org/package/prettyprinter-graphviz/docs/Data-Text-Prettyprint-Doc-Render-GraphViz.html#v:render) to transform it to a GraphViz [Label](https://hackage.haskell.org/package/graphviz/docs/Data-GraphViz-Attributes-Complete.html#t:Label). If you are using a different annotation type (eg. something more abstract), then you can define a mapping to GraphViz HTML attributes, and `fmap` it over your `Doc`.++![Example](https://raw.github.com/georgefst/prettyprinter-graphviz/master/example.svg)
prettyprinter-graphviz.cabal view
@@ -1,6 +1,6 @@ cabal-version:       3.0 name:                prettyprinter-graphviz-version:             1.0.0.1+version:             1.0.0.2 synopsis:            A prettyprinter backend for graphviz description:         Provides utility functions for rendering pretty GraphViz labels. homepage:            https://github.com/georgefst/prettyprinter-graphviz