GPL-3.0-only licensed by Meik Hellmund, Ralf Hinze, Joachim Korittky, Marco Kuhlmann, Ferenc Wágner, Peter Simons, Robin Green
Maintained by Peter Simons
This version can be pinned in stack with:funcmp-1.8@sha256:93b7d141b649cc97275103f4b3cf0486718dfc417eb9ef8fb11d814794dd51de,4320
Depends on 3 packages(full list with versions):

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