funcmp-1.5: Functional MetaPost

Portabilityportable
Stabilityprovisional
Maintainersimons@cryp.to

FMP

Description

 

Synopsis

Documentation

module FMP.Canvas

module FMP.Color

module FMP.Core

module FMP.File

module FMP.Frames

module FMP.Matrix

data Doc

Instances

Show Doc 

module FMP.Syntax

module FMP.Term

module FMP.Tree

module FMP.Turtle

module FMP.Types

generate :: IsPicture a => String -> Int -> a -> IO ()

emit|s a file called NAME.MP (or NAME.NUMBER.MP in not |newmp|) with a beginfig(NUMBER) in it, and runs MetaPost on it. The conversion to |MetaPost|, which |HasEmit|, is done by |metaPost|. Finally, the emitted |Doc| is |show|n.

wferi )

funcmp :: IsPicture a => String -> Int -> a -> IO ()