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
Maintainersimons@cryp.to
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

FMP.Tree

Contents

Description

 

Documentation

data Tree' a Source #

Constructors

Node' a NodeDescr [Tree' a] 

data Edge Source #

Constructors

Edge Path Tree 
Cross Path 

enode :: IsPicture a => a -> [Edge] -> Edge Source #

node :: IsPicture a => a -> [Edge] -> Tree Source #

alignFunction :: (NodeDescr -> [Extent] -> Int -> [Numeric]) -> AlignSons Source #

fit :: Numeric -> Extent -> Extent -> Position Source #

fitLeft :: Numeric -> [Extent] -> [Position] Source #

fitRight :: Numeric -> [Extent] -> [Position] Source #

Orphan instances

(Eq a, Eq b) => Eq (a -> b) Source # 

Methods

(==) :: (a -> b) -> (a -> b) -> Bool #

(/=) :: (a -> b) -> (a -> b) -> Bool #

(Num a, Num b) => Num (a, b) Source # 

Methods

(+) :: (a, b) -> (a, b) -> (a, b) #

(-) :: (a, b) -> (a, b) -> (a, b) #

(*) :: (a, b) -> (a, b) -> (a, b) #

negate :: (a, b) -> (a, b) #

abs :: (a, b) -> (a, b) #

signum :: (a, b) -> (a, b) #

fromInteger :: Integer -> (a, b) #

(Read a, Read b) => Read (a -> b) Source # 

Methods

readsPrec :: Int -> ReadS (a -> b) #

readList :: ReadS [a -> b] #

readPrec :: ReadPrec (a -> b) #

readListPrec :: ReadPrec [a -> b] #

Show (a -> b) Source # 

Methods

showsPrec :: Int -> (a -> b) -> ShowS #

show :: (a -> b) -> String #

showList :: [a -> b] -> ShowS #