Functional MetaPost (funcmp package)ContentsIndex
Functional MetaPost (funcmp package)

Functional MetaPost is a frontend to the MetaPost language http://www.tug.org/metapost.html 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.

Your best bet for documentation are the German-language documents

or these (incomplete) English translations:

Modules
show/hideFMP
FMP.Canvas
FMP.Color
FMP.Core
FMP.File
FMP.Frames
FMP.Matrix
FMP.PP
FMP.Picture
FMP.RedBlack
FMP.Resolve
FMP.Symbols
FMP.Syntax
FMP.Term
FMP.Tree
FMP.Turtle
FMP.Types
Paths_funcmp
Produced by Haddock version 2.4.1