funcmp: Functional MetaPost is a Haskell frontend to the MetaPost language

[ gpl, graphics, library ] [ Propose Tags ]

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. 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 also available in German.

Last but not least, there is a tutorial that offers many helpful examples (which is also available in German).


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9
Dependencies base (>=4.5 && <5), filepath, pretty, process (>= [details]
License GPL-3.0-only
Author Meik Hellmund, Ralf Hinze, Joachim Korittky, Marco Kuhlmann, Ferenc Wágner, Peter Simons, Robin Green
Maintainer Peter Simons <>
Category Graphics
Home page
Bug tracker
Source repo head: git clone git://
Uploaded by PeterSimons at 2018-01-29T17:04:53Z
Distributions LTSHaskell:1.9, NixOS:1.9, Stackage:1.9
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 8687 total (37 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-01-29 [all 1 reports]