Skip to content
User-contributed extensions to diagrams
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/Diagrams IntersectionExtras: handle self isecting trails Mar 25, 2019
test new module Diagrams.TwoD.Path.Follow Jul 16, 2016
tests add Show & Arbitrary instances for Turtle Tests Jun 10, 2015
.gitignore ignore new-build products Jan 28, 2019
.travis.yml travis: test with GHC-8.6 Oct 12, 2018
CHANGES.markdown CHANGES for 1.4.3 May 14, 2018
CONTRIBUTORS add IntersectionExtras Mar 3, 2019
LICENSE update tested-with, LICENSE Apr 2, 2015
README.markdown readme: show travis build status of master Jun 25, 2014
Setup.hs switch from custom Setup to new extra-doc-files field Nov 17, 2013
diagrams-contrib.cabal allow QuickCheck-2.13 Apr 16, 2019


Build Status

This package is a repository for user contributions to the diagrams project: generation of specialized diagrams, fun or instructive examples, half-baked ideas, stuff which is not sufficiently polished or general to go in the diagrams-lib package but is nonetheless worth sharing. Any code is welcome, as long as it conforms to a few simple standards:

  • Code must be released under a BSD3 license (see the LICENSE).

  • You must list yourself as the maintainer.

  • Try to keep external dependencies to a minimum; the goal is for diagrams-contrib to be easily installable by as many people as possible. New dependencies will be considered on a case-by-case basis. Dependencies involving the FFI will most likely be rejected. If you have some cool code using diagrams which requires big external dependencies, you should release it as a separate package rather than including it in diagrams-contrib.

  • There should at minimum be a Haddock comment on the module itself, explaining the purpose, giving some examples of use, etc. You may also want to use diagrams-haddock to include some example images in the Haddock documentation; see the diagrams-haddock documentation and take a look at other modules in the package for examples.

  • It must compile with no warnings under -Wall. This may seem a bit draconian, but you'll get over it. If it makes you feel any better, you are welcome to turn off specific warnings for your module with an {-# OPTIONS_GHC -fno-warn-blah #-} pragma.

For more general information on contributing to the diagrams project, see the Contributing page on the diagrams wiki.

You can’t perform that action at this time.