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

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
Maintainer[email protected]
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

FMP.Syntax

Description

 

Documentation

class HasEmit a where Source #

Methods

emit :: a -> Doc Source #

Instances
HasEmit Term Source # 
Instance details

Defined in FMP.Syntax

Methods

emit :: Term -> Doc Source #

HasEmit MPPattern Source # 
Instance details

Defined in FMP.Syntax

Methods

emit :: MPPattern -> Doc Source #

HasEmit MPPen Source # 
Instance details

Defined in FMP.Syntax

Methods

emit :: MPPen -> Doc Source #

HasEmit MPColor Source # 
Instance details

Defined in FMP.Syntax

Methods

emit :: MPColor -> Doc Source #

HasEmit MPPathBasicJoinTension Source # 
Instance details

Defined in FMP.Syntax

HasEmit MPPathDir Source # 
Instance details

Defined in FMP.Syntax

Methods

emit :: MPPathDir -> Doc Source #

HasEmit MPPathBasicJoin Source # 
Instance details

Defined in FMP.Syntax

HasEmit MPPathJoin Source # 
Instance details

Defined in FMP.Syntax

Methods

emit :: MPPathJoin -> Doc Source #

HasEmit MPPathSub Source # 
Instance details

Defined in FMP.Syntax

Methods

emit :: MPPathSub -> Doc Source #

HasEmit MPPath Source # 
Instance details

Defined in FMP.Syntax

Methods

emit :: MPPath -> Doc Source #

HasEmit MPArrow Source # 
Instance details

Defined in FMP.Syntax

Methods

emit :: MPArrow -> Doc Source #

HasEmit MetaPost Source # 
Instance details

Defined in FMP.Syntax

Methods

emit :: MetaPost -> Doc Source #

data MPArrow Source #

Instances
Eq MPArrow Source # 
Instance details

Defined in FMP.Syntax

Methods

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

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

HasEmit MPArrow Source # 
Instance details

Defined in FMP.Syntax

Methods

emit :: MPArrow -> Doc Source #

data MPTransform Source #

Instances
Eq MPTransform Source # 
Instance details

Defined in FMP.Syntax

data MPPathJoin Source #

Instances
Eq MPPathJoin Source # 
Instance details

Defined in FMP.Syntax

HasEmit MPPathJoin Source # 
Instance details

Defined in FMP.Syntax

Methods

emit :: MPPathJoin -> Doc Source #

data MPPathDir Source #

Instances
Eq MPPathDir Source # 
Instance details

Defined in FMP.Syntax

HasEmit MPPathDir Source # 
Instance details

Defined in FMP.Syntax

Methods

emit :: MPPathDir -> Doc Source #

data MPColor Source #

Instances
Eq MPColor Source # 
Instance details

Defined in FMP.Syntax

Methods

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

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

HasEmit MPColor Source # 
Instance details

Defined in FMP.Syntax

Methods

emit :: MPColor -> Doc Source #

data MPPen Source #

Instances
Eq MPPen Source # 
Instance details

Defined in FMP.Syntax

Methods

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

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

HasEmit MPPen Source # 
Instance details

Defined in FMP.Syntax

Methods

emit :: MPPen -> Doc Source #

data MPPattern Source #

Instances
Eq MPPattern Source # 
Instance details

Defined in FMP.Syntax

HasEmit MPPattern Source # 
Instance details

Defined in FMP.Syntax

Methods

emit :: MPPattern -> Doc Source #

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