Module documentation for 0.6.0.2

This version can be pinned in stack with:[email protected]:64538e8b3d85b4223cb4c5e6bc028fd7f03396f380aa85bb82eb824e247cc2d1,5668

Exact lookup

Diagrams

Diagrams.Builder

Diagrams.Builder.CmdLine

Diagrams.Builder.Modules

Diagrams.Builder.Opts

diagrams-builder provides backend-agnostic tools for dynamically
turning code into rendered
diagrams, using the
hint wrapper to the GHC
API. It supports conditional recompilation using hashing of diagrams
source code, to avoid recompiling code that has not changed. It is
useful for creating tools which compile diagrams code embedded in
other documents. For example, it is used by the
BlogLiterately-diagrams
package (a plugin for
BlogLiterately)
to compile diagrams embedded in
Markdown-formatted
blog posts.

An executable specific to the
cairo backend is included
(more executables specific to other backends will be included in the
future). It takes an input file and an expression to render and
outputs an image file, using the cairo backend. If you want it you
must explicitly enable the cairo flag with -fcairo.

A LaTeX package, diagrams-latex.sty, is also provided in the
latex/ directory of the source distribution, which renders diagrams
code found within diagram environments. It makes use of the
diagrams-builder-cairo executable, so if you want to use
diagrams-latex.sty you should install diagrams-builder with the
-fcairo option. Note that diagrams-latex.sty is licensed under
the GPL.

Changes

0.6.0.2 (20 November 2014)

Allow lens-4.6

Allow and require haskell-src-exts-1.16

0.6.0.1 (22 August 2014)

Allow lens-4.4

0.6 (5 June 2014)

Require diagrams-lib-1.2

Change to the type of buildDiagram in 0.5.0.11 actually required a major
version bump.

0.5.0.11 (2 June 2014) (BROKEN)

Allow transformers-0.4

Allow lens-4.2

Allow mtl-2.2

0.5.0.10 (21 May 2014)

Module parse error messages now include the error location
(thanks to Yiding Jia)

0.5.0.9 (15 April 2014)

Fix bug introduced by 0.5.0.8 release (accidentally included
commit meant for compatibility with unreleased versions of other
diagrams packages)