The funcmp package

[Tags:gpl, library]

Functional MetaPost is a Haskell frontend to the MetaPost language by John Hobby. Users write their graphics as Haskell programs, which then emit MetaPost code that can be compiled into encapsulated PostScript files and smoothly included into e.g. LaTeX.

A collection of useful examples how to use Functional MetaPost can be found in the user's manual at The document doesn't offer very much detail in terms of explanations, but the code samples are quite helpful.

Further documentation can be found in the original thesis that describes the implementation. The text is available in German at and in English at

Last but not least, there is a tutorial that offers many helpful examples available in German at and in English at


Versions 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8
Dependencies base (>=3 && <=5), filepath, process [details]
License GPL
Author Meik Hellmund, Ralf Hinze, Joachim Korittky, Marco Kuhlmann, Ferenc Wágner, Peter Simons
Maintainer Peter Simons <>
Stability Unknown
Category Graphics
Home page
Bug tracker
Source repository head: git clone git://
Uploaded Mon Mar 22 11:15:14 UTC 2010 by PeterSimons
Distributions LTSHaskell:1.8, NixOS:1.8, Stackage:1.8, Tumbleweed:1.8
Downloads 2016 total (9 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees