ยค Gfx, g

Graphics

Types

data Gfx = Graphic a => G a
instance Show Gfx
instance Graphic Gfx

g :: Graphic a => a -> Drawing lbl Gfx

Description

Gfx allows you to mix different types of graphical objects in the same drawing.

Example

 hboxD [g "Yes",g False, g 42]

Equalities

g = atomicD . G

See Also

Type Drawing, class Graphic.

Bugs

This type is only available if the Haskell compiler in use supports existential quantification in data types.