funcmp-1.8: Functional MetaPost

Copyright(c) 2003-2010 Peter Simons
(c) 2002-2003 Ferenc Wágner
(c) 2002-2003 Meik Hellmund
(c) 1998-2002 Ralf Hinze
(c) 1998-2002 Joachim Korittky
(c) 1998-2002 Marco Kuhlmann
LicenseGPLv3
Maintainersimons@cryp.to
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

FMP.Syntax

Description

 

Documentation

class HasEmit a where #

Minimal complete definition

emit

Methods

emit :: a -> Doc #

data MPColor #

Instances

Eq MPColor # 

Methods

(==) :: MPColor -> MPColor -> Bool #

(/=) :: MPColor -> MPColor -> Bool #

HasEmit MPColor # 

Methods

emit :: MPColor -> Doc #

data MPPen #

Instances

Eq MPPen # 

Methods

(==) :: MPPen -> MPPen -> Bool #

(/=) :: MPPen -> MPPen -> Bool #

HasEmit MPPen # 

Methods

emit :: MPPen -> Doc #

emitL :: [String] -> Doc #

emitPen2 :: (Eq b, Num b, HasEmit b, Eq a, HasEmit a) => (a, a) -> b -> Doc #

tdot :: String -> Dir -> Term #

tr :: Int -> String #

pos :: Int -> Int -> String #