iterm-show-diagrams: Orphan Show instances for diagrams package that render inline in some terminals

[ bsd3, graphics, library ] [ Propose Tags ]

This package provides orphan Show instances for the QDiagram type from the diagrams package. This allows showing images from the GHCi prompt, which is really handy for development and experimentation.

[Skip to Readme]
Versions [faq]
Change log
Dependencies base (>=4.9 && <5.0), diagrams-lib, diagrams-rasterific, iterm-show, JuicyPixels [details]
License BSD-3-Clause
Copyright (c) 2018 Luke Clifton
Author Luke Clifton
Revised Revision 1 made by lukec at 2020-12-04T12:09:48Z
Category Graphics
Home page
Uploaded by lukec at 2018-10-10T04:05:07Z
Distributions NixOS:
Downloads 593 total (1 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2018-10-10 [all 1 reports]


[Index] [Quick Jump]


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees

Readme for iterm-show-diagrams-

[back to package description]


This library exports an orphan Show instance for diagrams.
It allows you to view images inline in your terminal if it is supported by the iterm-show library.

It also includes a function, draw which helps you to assign the correct type for the show instance incase you are using very generic functions.